diff options
author | Stan Hu <stanhu@gmail.com> | 2015-10-06 09:57:13 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-10-07 07:21:50 -0700 |
commit | dfbbc80611fbdafe6f5ed809f98fc63987d104a6 (patch) | |
tree | 00a5f131e4b54c14162fc2a89cc2cca1a73512c9 /app/views/shared/issuable/_filter.html.haml | |
parent | cc8c91a1183ebfc5bb252f5e7f3f09fc20546476 (diff) | |
download | gitlab-ce-dfbbc80611fbdafe6f5ed809f98fc63987d104a6.tar.gz |
Support filtering by "Any" milestone or issue and fix "No Milestone" and "No Label" filters
Closes #2619
Closes https://github.com/gitlabhq/gitlabhq/issues/9631
Diffstat (limited to 'app/views/shared/issuable/_filter.html.haml')
-rw-r--r-- | app/views/shared/issuable/_filter.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/issuable/_filter.html.haml b/app/views/shared/issuable/_filter.html.haml index 8f16773077e..6e6d497c1d2 100644 --- a/app/views/shared/issuable/_filter.html.haml +++ b/app/views/shared/issuable/_filter.html.haml @@ -39,13 +39,13 @@ .filter-item.inline.milestone-filter = select_tag('milestone_title', projects_milestones_options, - class: 'select2 trigger-submit', include_blank: true, + class: 'select2 trigger-submit', include_blank: 'Any', data: {placeholder: 'Milestone'}) - if @project .filter-item.inline.labels-filter = select_tag('label_name', project_labels_options(@project), - class: 'select2 trigger-submit', include_blank: true, + class: 'select2 trigger-submit', include_blank: 'Any', data: {placeholder: 'Label'}) .pull-right |