In Ember, itβs easy to filter the array in which you are looking for the appropriate values ββ(Only return name == "John). I canβt figure out how to filter with a higher or lower value (return all objects whose startDate to this day
In my application, I have a result set. I want to divide these results into three categories: Debt for ten days, Overdue, and then the rest.
I found the following example in another SO post, but can't figure out how to use it to achieve my goal
filterComputed: function() { return this.get('content').filter(function(item, index, enumerable){ return item.firstName == 'Luke'; }); }.property(' content.@each ')
source share