mirror of
https://github.com/flarum/framework.git
synced 2025-02-22 14:46:24 +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);
|
super.show(user);
|
||||||
|
|
||||||
this.state = new DiscussionListState({
|
this.state = new DiscussionListState({
|
||||||
q: 'author:' + user.username(),
|
filter: { author: user.username() },
|
||||||
sort: 'newest',
|
sort: 'newest',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user