An error occurred while fetching this tab.
Related to #479987 (closed)
This MR fixes a bug found with global search for issues using the label_name
param.
The fix is to take into account what search level is being requested (this is known and sent down as an option). Labels are queried differently for each level:
group_id
is sent to LabelsFinder
project_id
(s) and group_id
(if provided) are sent to LabelsFinder
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
No filtering applied: http://gdk.test:3000/search?scope=issues&search=sed
Filtering applied: https://gdk.test:3000/search?scope=issues&search=sed&label_name%5B%5D=Afterpod
User | Before | After |
---|---|---|
admin | ![]() |
![]() |
non-admin | ![]() |
![]() |
anonymous | ![]() |
![]() |
The fix refactors the filter to take search level into account (global, group, or project) Changelog: fixed EE: true