An error occurred while fetching the assigned milestone of the selected merge_request.
Support filtering by "Any" milestone or issue and fix "No Milestone" and "No Label" filters
This MR adds support for filtering by "Any" milestone or label. It also changes the "No Milestone" filter to only show issues/merge requests that have NO milestones and adds a similar "No Label" filter.
Screenshots:
Closes #2619 (closed)
Merge request reports
Activity
Reassigned to @dzaporozhets
Added 1 commit:
- c86c02e9 - Simplify query (no need for join)
207 215 208 216 def by_label(items) 209 217 if params[:label_name].present? 210 label_names = params[:label_name].split(",") 218 if params[:label_name] == Label::None.title 219 item_ids = LabelLink.where(target_type: klass.name).pluck(:target_id) Stan Hu, Stan Hu, Stan Hu, what did you do?! This will select way too many
LabelLink
s, probably running into the hundreds of thousands for GitLab.com. :( There's a fix in !1587 (merged).@haynes LOL
mentioned in issue #3078 (closed)
Please register or sign in to reply