mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 14:24:57 +08: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:
parent
e4e3eb22f4
commit
acd19c6fa2
@ -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',
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user