mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 10:32:44 +08:00
Use new author
key for filtering posts
Fixes https://github.com/flarum/core/issues/2671
This commit is contained in:
parent
91e8b56961
commit
612a57c466
|
@ -121,7 +121,7 @@ export default class PostsUserPage extends UserPage {
|
|||
loadResults(offset) {
|
||||
return app.store.find('posts', {
|
||||
filter: {
|
||||
user: this.user.id(),
|
||||
author: this.user.id(),
|
||||
type: 'comment',
|
||||
},
|
||||
page: { offset, limit: this.loadLimit },
|
||||
|
|
Loading…
Reference in New Issue
Block a user