Martijn Russchen opened issue #454368: Gitlab search returns 500 error page when you filter by project and this project doesn’t include any results. at GitLa...

Martijn Russchen
2024-04-03T19:16:53Z

Summary

When using search and trying to narrow down the results by filtering on specific projects the search returns 500 error page when you filter by project and this project doesn’t include any results.

Steps to reproduce

go to the search from the sidebar

Enter a search string

Filter down to a project that doesn't include a hit on the search string

Experience the 500 error

Example Project

No example project, but here's part of the URL causing the issue: group_id=6&scope=blobs&search=llm_conversations_topics&project_id=2

What is the current bug behavior?

Page goes to 500 error page.

What is the expected correct behavior?

Expect to show the search that it had 0 results

Screenshots