diff options
author | Felipe Artur <felipefac@gmail.com> | 2018-01-17 12:28:36 -0200 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2018-01-18 13:51:46 -0200 |
commit | a956fac221e9e20e04e9b8557ac84ff4f920c891 (patch) | |
tree | e046e97dc2a39a03629decb9eb769246b529ff0e /app/finders/labels_finder.rb | |
parent | 5c51cbca06b099427e15309b352d01d960f641e3 (diff) | |
download | gitlab-ce-a956fac221e9e20e04e9b8557ac84ff4f920c891.tar.gz |
Remove unnecessary query from labels filter
Diffstat (limited to 'app/finders/labels_finder.rb')
-rw-r--r-- | app/finders/labels_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/labels_finder.rb b/app/finders/labels_finder.rb index 6de9eb89468..1427cdaa382 100644 --- a/app/finders/labels_finder.rb +++ b/app/finders/labels_finder.rb @@ -71,7 +71,7 @@ class LabelsFinder < UnionFinder end def projects? - params[:project_ids].present? + params[:project_ids] end def only_group_labels? |