1
0
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:
Rafael Horvat
2021-09-11 10:24:15 +02:00
committed by GitHub
parent f56fc11af9
commit 1b193196da

View File

@@ -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',
});