diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-20 17:23:10 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-20 17:23:10 +0100 |
commit | 439a72803b32be97253ce689659251530afbca21 (patch) | |
tree | 7b2da9ab680f7692a324874a2335389adfd057b1 /app/finders/issuable_finder.rb | |
parent | 75626d5f0134770065a18c73223bdd798866fa5b (diff) | |
download | gitlab-ce-439a72803b32be97253ce689659251530afbca21.tar.gz |
Any label & no label out weigh other labels - these two will clear previously selected labels
Fixed issue with no label not working correctly
Diffstat (limited to 'app/finders/issuable_finder.rb')
-rw-r--r-- | app/finders/issuable_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/issuable_finder.rb b/app/finders/issuable_finder.rb index d7c5b0a598c..5eb1d3f5aac 100644 --- a/app/finders/issuable_finder.rb +++ b/app/finders/issuable_finder.rb @@ -117,7 +117,7 @@ class IssuableFinder end def filter_by_no_label? - labels? && params[:label_name] == Label::None.title + labels? && params[:label_name].include?(Label::None.title) end def labels |