Skip to content

Commit

Permalink
fix new search term not being passed
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Oct 21, 2024
1 parent 3a45ebc commit 52dcef1
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 52dcef1

Please sign in to comment.