diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index 8ff0bc67b71a9e4651b8b1a8270331f281a73f52..109acfd192bc2569d8468323b9e03ada018d0285 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -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