Skip to content

Commit

Permalink
fix new search term not being passed (#4083)
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland authored Oct 21, 2024
1 parent cc1d2aa commit 6f48557
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export default class DiscussionsSearchSource implements SearchSource {
view(query: string): Array<Mithril.Vnode> {
query = query.toLowerCase();

this.setQueryString(query);

const results = (this.results.get(query) || []).map((discussion) => {
const mostRelevantPost = discussion.mostRelevantPost();

Expand Down

0 comments on commit 6f48557

Please sign in to comment.