remove double load for zoekt multi-result
What does this MR do and why?
Fix double load of results. On zoekt multi-result page the legacy query needed to be disabled.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Enable the forks filter FF
echo 'Feature.enable(:zoekt_multimatch_frontend)' | rails c - Make sure advanced search is installed and enabled
- Make sure you enable zoekt.
- Visit search page
http://gdk.test:3000/search?scope=blobs&search=test - Search code using namespace where zoekt is enabled (Flightjs)
- When multi-match results load make sure the ES was called only once
- When you fill in search term on the multi-match hitting enter won't reload page
Related to #481985 (closed)
Edited by Tomas Bulva