@Levi_Hugo wrote:
Hi newbie here. I’m using Ember.computed.sort and was wondering how to properly use a custom function to sort a model property that is ‘belongsTo’. I managed to make it work by doing: sortDefinition: [‘supervisor.name:asc’]. Anyone know how to do it using a custom function? Screenshot below is what I’m currently working with, but it doesn’t work. I hope my question makes sense. Thanks in advance.
Posts: 3
Participants: 2