mirror of
https://github.com/flarum/core.git
synced 2025-08-01 22:20:21 +02:00
Use author
filter parameter instead of q
with gambit to get a user's discussions on the DiscussionsUserPage
(#3068)
This commit is contained in:
@@ -17,7 +17,7 @@ export default class DiscussionsUserPage extends UserPage {
|
||||
super.show(user);
|
||||
|
||||
this.state = new DiscussionListState({
|
||||
q: 'author:' + user.username(),
|
||||
filter: { author: user.username() },
|
||||
sort: 'newest',
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user