1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 17:51:24 +02:00

Fix user activity load more

This commit is contained in:
Toby Zerner
2015-05-07 16:53:30 +09:30
parent 59562b3246
commit 077f231fef

View File

@@ -44,10 +44,10 @@ export default class ActivityPage extends UserPage {
this.loadResults().then(this.parseResults.bind(this)); this.loadResults().then(this.parseResults.bind(this));
} }
loadResults(start) { loadResults(offset) {
return app.store.find('activity', { return app.store.find('activity', {
users: this.user().id(), users: this.user().id(),
start, page: {offset},
type: this.props.filter type: this.props.filter
}) })
} }