From 30017eef09ae9e78640c4e2cacd4909fffa8d775 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Mon, 8 Mar 2021 16:29:48 -0500 Subject: [PATCH] Send username as author filter value instead of id. For consistency with the Discussion AuthorFilterGambit, this should be sent usernames, not numerical ids. --- js/src/forum/components/PostsUserPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/forum/components/PostsUserPage.js b/js/src/forum/components/PostsUserPage.js index 81436cad1..f45c66d37 100644 --- a/js/src/forum/components/PostsUserPage.js +++ b/js/src/forum/components/PostsUserPage.js @@ -121,7 +121,7 @@ export default class PostsUserPage extends UserPage { loadResults(offset) { return app.store.find('posts', { filter: { - author: this.user.id(), + author: this.user.username(), type: 'comment', }, page: { offset, limit: this.loadLimit },