Skip to content

Commit 52dcef1

Browse files
committed
fix new search term not being passed
1 parent 3a45ebc commit 52dcef1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

framework/core/js/src/forum/components/DiscussionsSearchSource.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ export default class DiscussionsSearchSource implements SearchSource {
3535
view(query: string): Array<Mithril.Vnode> {
3636
query = query.toLowerCase();
3737

38+
this.setQueryString(query);
39+
3840
const results = (this.results.get(query) || []).map((discussion) => {
3941
const mostRelevantPost = discussion.mostRelevantPost();
4042

0 commit comments

Comments
 (0)