Filter work item label list by title only
requested to merge 442834-work-items-label-search-does-not-return-expected-results-and-order into master
What does this MR do and why?
Make work item labels list match search behavior of issue labels list.
Previously search also searched description, now has additional filter to only match title.
Same filtering as found in dropdown_contents_labels_view.vue
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Enable
work_items_mvc_2
feature flag - Add a label with a description that is the title of another label
- Go to work item page, e.g.
http://gdk.test:3000/gitlab-org/gitlab-test/-/work_items/31
- Edit label dropdown, search for title. Label with the search term in description should not show up
Related to #442834 (closed)
Edited by Simon Knox