Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
search_suggestion: Rename Attacher#concat to push_many.
Anders Kaseorg6b3edb8b0d8a
diff --git a/web/src/search_suggestion.js b/web/src/search_suggestion.jsindex 3953cedbee9..fd32c4c3d1a 100644--- a/web/src/search_suggestion.js+++ b/web/src/search_suggestion.js@@ -650,7 +650,7 @@ class Attacher {}}- concat(suggestions) {+ push_many(suggestions) {for (const suggestion of suggestions) {this.push(suggestion);}@@ -790,7 +790,7 @@ export function get_search_result(base_query, query) {attacher.result.length < max_items) {const subset_suggestions = get_operator_subset_suggestions(search_operators);- attacher.concat(subset_suggestions);+ attacher.push_many(subset_suggestions);}return attacher.result.slice(0, max_items);