Skip to content

Commit

Permalink
Downcase suggestions (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
aliciapaz authored Mar 19, 2024
1 parent c3a0711 commit 8abe184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/autocomplete_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class AutocompleteController < ApplicationController

def index
@suggestions = PgSearch.multisearch(params[:q]).map do |record|
record.searchable.name
record.searchable.name.downcase
end.uniq

render layout: false
Expand Down

0 comments on commit 8abe184

Please sign in to comment.