From acd19c6fa26b485ba4a16f3e147dfc011bba5b7e Mon Sep 17 00:00:00 2001 From: Rafael Horvat Date: Sat, 11 Sep 2021 10:24:15 +0200 Subject: [PATCH] Use `author` filter parameter instead of `q` with gambit to get a user's discussions on the `DiscussionsUserPage` (#3068) --- framework/core/js/src/forum/components/DiscussionsUserPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/js/src/forum/components/DiscussionsUserPage.js b/framework/core/js/src/forum/components/DiscussionsUserPage.js index c0590afdd..c4f4b056d 100644 --- a/framework/core/js/src/forum/components/DiscussionsUserPage.js +++ b/framework/core/js/src/forum/components/DiscussionsUserPage.js @@ -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', });