mirror of
https://github.com/flarum/core.git
synced 2025-07-16 14:26:25 +02:00
Use new author
key for filtering posts
Fixes https://github.com/flarum/core/issues/2671
This commit is contained in:
@ -121,7 +121,7 @@ export default class PostsUserPage extends UserPage {
|
|||||||
loadResults(offset) {
|
loadResults(offset) {
|
||||||
return app.store.find('posts', {
|
return app.store.find('posts', {
|
||||||
filter: {
|
filter: {
|
||||||
user: this.user.id(),
|
author: this.user.id(),
|
||||||
type: 'comment',
|
type: 'comment',
|
||||||
},
|
},
|
||||||
page: { offset, limit: this.loadLimit },
|
page: { offset, limit: this.loadLimit },
|
||||||
|
Reference in New Issue
Block a user