Hi there, really quick question.
My index only pulls in the first 10 items from my API. I then have a search setup which queries the server from my controller. I have no problem graabbing the data, and can see in Ember inspector the correct item/s being added to my store. However, the page does not update to show those newly added items. I can’t find any reference to this problem elsewhere but seems like it should be something very obvious :-S
export default AccountsIndexController.extend({
search: ''
searchApi: function() {
var _this = this;
var search = this.get('search');
var accounts = this.store.find('account', {filter: search});
}.observes('search'),
});
I just need a way to make the newly appeared entry in my store, appear as part of the results!
Thanks in advance