diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-01-18 20:21:41 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-01-18 20:21:41 +0300 |
commit | 210e6e8a654a026443af1fd1f007a5fc093e7ac2 (patch) | |
tree | fa01a090fedc9d5efca909cb200aa4b7e1269fa8 /app/finders | |
parent | 91374baf8685cc58bb7334ed131bc223ad0875e2 (diff) | |
parent | a956fac221e9e20e04e9b8557ac84ff4f920c891 (diff) |
Merge branch 'issue_37143_2' into 'master'
Remove unnecessary query from labels dropdown
Closes #37143
See merge request gitlab-org/gitlab-ce!16520
Diffstat (limited to 'app/finders')
-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? |