Skip to content

Fix the Container Registry tag filter

What does this MR do and why?

Fixes the Container Registry tag filter when accessing it interactively.

Issue: #384042 (closed)

Issue introduced in !102940 (merged)

No tests added, I believe it would be a larger effort to create one that covers this. There's already an issue for adding such a test here: #345136.

Screenshots or screen recordings

before after
tag_search_before tag_search_working

How to set up and validate locally

  1. Set up the container registry to contain at least one pushed tag. See here for example gdk setup instructions.
  2. Navigate to the tags list:
    • Packages and Registries -> Container registry -> Select a pushed container.
  3. Enter a search term and hit the Enter key or the search button.
  4. Confirm that the search results change accordingly, and that a request is fired (for the first search at least, as subsequent searches for the same tag may be cached).

👆🏻 Apply the same steps, but instead of testing the search field, test the sort order button on the filter bar.

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

Edited by Tristan Read

Merge request reports