Skip to content

Include archived component bug fix

What does this MR do and why?

Repeated clicking on the "include archived" input box is causing it to stop updating the internal state. This MR is fixing this.

Screenshots or screen recordings

Before After
Screen_Recording_2023-09-15_at_16.55.40 Screen_Recording_2023-09-21_at_11.16.54

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Although this bug applies to all instances of this component [code] scope is the one where it was found

  1. Make sure advanced search is installed and enabled
  2. In rails enable FF
    echo 'Feature.enable(:search_blobs_hide_archived_projects)' | rails c
  3. Visit the global search page, issues scope http://gdk.test:3000/search?scope=blobs&search=%2A

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 #421716 (closed)

Edited by Tomas Bulva

Merge request reports