samedi 4 avril 2015

Ember CLI -- store.find doesn't work when searching for all results with a given name

I'm trying to search for all employees that have a title of developer


As per the documentation (http://ift.tt/1NhbJSw) It seems the correct way to do this is:



return this.store.find('employee', { title: "developer" });


But this is not working in Ember CLI 0.2.2, and I can't even see my template when I try this, even though when I do



return this.store.find('employee')


I can see a list of all employees and there are multiple employees with that title





Aucun commentaire:

Enregistrer un commentaire