Skip to content
Snippets Groups Projects

Filter out duplicate milestone results in filter search bar

All threads resolved!

What does this MR do and why?

When a user searches milestones, there can be duplicate results for milestones in different scopes that have the same title.

This MR filters those duplicates out of search results, so that each milestone name only appears once in search results.

Screenshots or screen recordings

Before After
image Screenshot_2024-09-23_at_16.08.27

Filter results (no change)

Before After
image image

How to set up and validate locally

  1. Check out this branch
  2. In the GDK, make sure your user has access to 2 groups that each have a milestone that share the same title.
  3. In each of those two groups, create an issue
    1. Assign your user
    2. apply that milestone
  4. Go to your user's assigned issues dashboard page
  5. Search for that milestone
  6. You will see that the milestone name only appears once in search results.
  7. Filter on the milestone
  8. You will see that both of the issues you created in step 3 appear in the filter results

Related to #456346 (closed), #474921 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading