You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at a past closed issue (#190), and I saw this code:
afterInfinityModel(newObjects) {
let nextPage = newObjects.get('links.next.number');
console.log(nextPage); //<-- make sure this works?
this.set('nextPageToLoad', nextPage);
this.set('_totalPages', 999999);
},
_buildParams() {
let params = this._super(...arguments);
params[this.get('pageParam')] = this.get('nextPageToLoad');
return params;
}
Mainly, looking at "make sure this works part... in my case, it doesn't work! It just returns and empty object. It understands that there are more items and more pages, but it doesn't make any additional requests. Here is my current route:
The loading was working prior to upgrading to Ember 2.9 -- but it seems like others are loading just fine with that Ember version. Let me know what you think.
The text was updated successfully, but these errors were encountered:
I looked at a past closed issue (#190), and I saw this code:
Mainly, looking at "make sure this works part... in my case, it doesn't work! It just returns and empty object. It understands that there are more items and more pages, but it doesn't make any additional requests. Here is my current route:
The loading was working prior to upgrading to Ember 2.9 -- but it seems like others are loading just fine with that Ember version. Let me know what you think.
The text was updated successfully, but these errors were encountered: