mirror of https://github.com/zulip/zulip.git
Show 'subset' search suggestions last
(imported from commit 849e151cfeb56b288419e12621d122327e619023)
This commit is contained in:
parent
782e2d43bf
commit
312452f174
|
@ -427,9 +427,6 @@ exports.initialize = function () {
|
|||
suggestions = get_special_filter_suggestions(query, operators);
|
||||
result = result.concat(suggestions);
|
||||
|
||||
suggestions = get_operator_subset_suggestions(query, operators);
|
||||
result = result.concat(suggestions);
|
||||
|
||||
suggestions = get_stream_suggestions(query);
|
||||
result = result.concat(suggestions);
|
||||
|
||||
|
@ -447,6 +444,9 @@ exports.initialize = function () {
|
|||
suggestions = get_topic_suggestions(query, operators);
|
||||
result = result.concat(suggestions);
|
||||
|
||||
suggestions = get_operator_subset_suggestions(query, operators);
|
||||
result = result.concat(suggestions);
|
||||
|
||||
// We can't send typeahead objects, only strings, so we have to create a map
|
||||
// back to our objects, and we also filter duplicates here.
|
||||
search_object = {};
|
||||
|
|
Loading…
Reference in New Issue