Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
topic_list: Set typeahead to only match when the prefix matches.
Maneesh Shuklaaa49b54fb4d4
diff --git a/web/src/topic_list.ts b/web/src/topic_list.tsindex 9d1b6542fbe..05c6930c6bd 100644--- a/web/src/topic_list.ts+++ b/web/src/topic_list.ts@@ -564,7 +564,7 @@ export function setup_topic_search_typeahead(): void {return typeahead_helper.render_topic_state(item);},matcher(item: string, query: string) {- return item.toLowerCase().includes(query.toLowerCase());+ return item.toLowerCase().startsWith(query.toLowerCase());},sorter(items: string[]) {return items;