summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-30 12:04:47 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-30 12:04:47 +0300
commit81aebaa189586d4384fff92324fc9ec5bd8d8962 (patch)
treec62e7d16e7ea78bac1401b8195d8e61e41541b74 /app
parent2c32edb3aeb3abd4eae12a51b071629da5ab30ff (diff)
downloadgitlab-ce-81aebaa189586d4384fff92324fc9ec5bd8d8962.tar.gz
Fix issues label finder
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/finders/base_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/base_finder.rb b/app/finders/base_finder.rb
index 4be74a1ff8c..ad63135e7e6 100644
--- a/app/finders/base_finder.rb
+++ b/app/finders/base_finder.rb
@@ -125,7 +125,7 @@ class BaseFinder
def by_label(items)
if params[:label_name].present?
- items = items.joins(:labels).where("labels.title = ?", params[:label_name])
+ items = items.joins(:labels).where("labels.title in (?)", params[:label_name].split(","))
end
items