store.filter() not working as expected ember.js (Trying to search models)
问题 I am trying to implement a search system here and I am having some trouble with store.filter() First of all I can't find any good documentation on the store.filter() method aside from here: http://emberjs.com/guides/models/frequently-asked-questions/ So I am using the example provided on that page as a guideline. This is what I have in my code App.ApplicationController = Ember.ObjectController.extend({ isDropdown: false, actions: { handle_search: function() { var search_text = this.get(