Skip to content

Advanced search with no search term is showing scopes

What does this MR do and why?

Fix for edge case where no search term is showing the navigation on the old nav page.

Screenshots or screen recordings

before after
before after

How to set up and validate locally

  1. Visit the search page http://gdk.test:3000/search?scope=issues&search=

  2. The search page should not show any navigation

  3. Check the new navigation:

  4. Enable FF echo 'Feature.enable(:search_issue_label_aggregation)' | rails c

  5. Switch the new navigation on

  6. Visit the same search page http://gdk.test:3000/search?scope=issues&search=

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #408364 (closed)

Edited by Tomas Bulva

Merge request reports

Loading