In my controller, I have a filtered array like
filteredPosts: Ember.computed.filterBy('model', 'foo', 'bar')
Is it possible that filteredPosts does not filter anything at all. I need this in case a user doesn't want to apply a filter and just wants to see all of the posts.
Aucun commentaire:
Enregistrer un commentaire