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

Use new author key for filtering posts

Fixes https://github.com/flarum/core/issues/2671
This commit is contained in:
Alexander Skvortsov
2021-03-08 16:21:36 -05:00
parent 97d1a42ad2
commit 6f09af5ad9

View File

@@ -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 },