Skip to content

Commit

Permalink
fixup for Differentiate between pill and text search query.
Browse files Browse the repository at this point in the history
  • Loading branch information
evykassirer committed Jun 20, 2024
1 parent 48a878d commit 703805a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/search_suggestion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ export function get_search_result(query_from_pills: string, query_from_text: str
},
];
attacher.push([...attacher.base, ...suggestion_line]);
} else if (all_search_terms.length > 0 && last.operator !== "has" && last.operator !== "is") {
} else if (all_search_terms.length > 0 && last.operator !== "has" && last.operator !== "is") {
suggestion_line = get_default_suggestion_line(all_search_terms);
attacher.push(suggestion_line);
}
Expand Down

0 comments on commit 703805a

Please sign in to comment.