Change the order of search autocomplete items
What does this MR do and why?
In !93106 (merged) we inadvertently changed the order of the results from SearchController#autocomplete
. This MR restores the original ordering, so that Recent
items go before the rest of the results.
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Change the titles of a project and an issue to include a specific term (
test
for example) - Type
test
in the search field at the navbar - Recent issues should be located before the project
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #361520 (closed)
Edited by Dmitry Gruzd