Files
zulip/static/js
Ryan Rehman 72816b9408 minor: Refactor get_search_result of search suggestions.
The 3 changes made here are as follows:
* The if block for both the functions is simplified as
  `Filter.parse` will always return an array and also
  [].slice(0, -1) === [] is true.
* The code where `base_operators` is declared is moved
  to just before where it is actually used.
* The `base` variable declaration is changed to match
  the pattern of that present in the non-legacy function.
  Its value remains the same.

This is a prep commit for when we want to merge the
`get_search_result_legacy` and `get_search_result` functions.
2020-06-15 20:16:40 -07:00
..
2020-02-04 12:22:03 -08:00
2019-10-25 13:51:21 -07:00
2020-03-26 21:35:32 -07:00
2020-02-10 15:57:20 -08:00
2020-06-08 23:03:15 -07:00
2019-10-25 13:51:21 -07:00
2020-02-25 15:37:37 -08:00