Skip to content

Add active state to milestones fetch in filtered search

Scott Stern requested to merge ss/add-state-to-milestones into master

What does this MR do and why?

An alumni reported they were seeing closed milestones in the new filtered search dropdown.

This MR filters board milestones by active.

Repro

  • rails c
  • Feature.enable(:issue_boards_filtered_search)
  • Go to Project or Group Issue Boards
  • Select the milestones token, then = or != then notice that the milestones list only contains active milestones

Screenshots or screen recordings

2022-01-13_12.47.35

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Scott Stern

Merge request reports

Loading