mirror of https://github.com/zulip/zulip.git
Remove unused parameter in get_topic_suggestions()
(imported from commit d32cf560376d2b96b1b974a27158aba5ac6401d3)
This commit is contained in:
parent
6e0b6dfc24
commit
3430bc8ff3
|
@ -235,7 +235,7 @@ function get_suggestion_based_on_query(search_string, operators) {
|
|||
return {description: description, search_string: search_string};
|
||||
}
|
||||
|
||||
function get_topic_suggestions(query, query_operators) {
|
||||
function get_topic_suggestions(query_operators) {
|
||||
if (query_operators.length === 0) {
|
||||
return [];
|
||||
}
|
||||
|
@ -441,7 +441,7 @@ exports.initialize = function () {
|
|||
suggestions = get_private_suggestions(people, operators);
|
||||
result = result.concat(suggestions);
|
||||
|
||||
suggestions = get_topic_suggestions(query, operators);
|
||||
suggestions = get_topic_suggestions(operators);
|
||||
result = result.concat(suggestions);
|
||||
|
||||
suggestions = get_operator_subset_suggestions(query, operators);
|
||||
|
|
Loading…
Reference in New Issue