Skip to content
Snippets Groups Projects
Commit 9947e699 authored by Phil Hughes's avatar Phil Hughes
Browse files

Fixed issue where label query would bring back duplicates

parent 44cf9e4c
No related branches found
No related tags found
1 merge request!5293Updated issuable form with GL dropdowns
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment