Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-30 13:04:47 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-30 13:04:47 +0400
commit81aebaa189586d4384fff92324fc9ec5bd8d8962 (patch)
treec62e7d16e7ea78bac1401b8195d8e61e41541b74 /app/finders
parent2c32edb3aeb3abd4eae12a51b071629da5ab30ff (diff)
Fix issues label finder
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/finders')
-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