Commit 9947e699 authored by Phil Hughes's avatar Phil Hughes

Fixed issue where label query would bring back duplicates

parent 44cf9e4c
......@@ -78,7 +78,7 @@ module IssuablesHelper
end
def selected_labels(project, label_query)
Label.where(label_query.merge(project_id: project))
Label.where(label_query.merge(project_id: project)).pluck(:title).uniq
end
private
......
Markdown is supported
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