Unverified Commit 81aebaa1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix issues label finder

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 33f690c7a127
......@@ -125,7 +125,7 @@ def by_assignee(items)
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(","))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment