FIX: When navigating back to the user's profile page items were missing

This commit is contained in:
Robin Ward 2015-06-02 21:30:36 -04:00
parent 42f2cd83db
commit 34acb805a4
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default RestModel.extend({
baseUrl: Discourse.computed.url('itemsLoaded', 'user.username_lower', '/user_actions.json?offset=%@&username=%@'),
filterBy(filter) {
this.setProperties({ filter, itemsLoaded: 0, content: [] });
this.setProperties({ filter, itemsLoaded: 0, content: [], lastLoadedUrl: null });
return this.findItems();
},