From 439a72803b32be97253ce689659251530afbca21 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 20 Apr 2016 17:23:10 +0100 Subject: Any label & no label out weigh other labels - these two will clear previously selected labels Fixed issue with no label not working correctly --- app/finders/issuable_finder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/finders/issuable_finder.rb') 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 -- cgit v1.2.1