Skip to content

Container Registry Search not working interactively, only when accessed via URL

Summary

Searching the Container Registry of a project does not show the results, instead it only changes the URL. Loading that URL manually, does produce the expected results.

Steps to reproduce

  1. Go to https://gitlab.com/gitlab-org/ci-cd/gitlab-runner-ubi-images/container_registry/1766421
  2. Input "v15.5" into search field
  3. Press Enter, or click "Search" icon on the right
  4. Observe how the URL changes to now include the search term
  5. Observe how nothing else happens, no search results are being shown
  6. Manually load the changed URL
  7. Observe expected search results

Example Project

https://gitlab.com/gitlab-org/ci-cd/gitlab-runner-ubi-images/container_registry/1766421

What is the current bug behavior?

Search is not triggered dynamically via frontend, can only be used via direct URL

What is the expected correct behavior?

Search is triggered dynamically via frontend

Relevant logs and/or screenshots

Screen recording:

Screen_Recording_2022-11-29_at_16.12.03

Output of checks

This bug happens on GitLab.com

Possible fixes

Unclear. Test Container Registry search and sorting on t... (#345136 - closed) seems relevant as that would likely have caught the issue.

It works as expected in my personal 15.6.0 instance, so I chose regression:15.6