Commit a7e1290a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'bug/duplicates_in_search' of /home/git/repositories/gitlab/gitlabhq

parents 8700e91d 954dd398
......@@ -8,7 +8,9 @@ module SearchHelper
default_autocomplete,
project_autocomplete,
help_autocomplete
].flatten.to_json
].flatten.uniq do |item|
item[:label]
end.to_json
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