Skip to content

Commit

Permalink
oops, use the correct key when cleaning up the suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
rococodogs committed Dec 11, 2019
1 parent 036fd42 commit e322571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/authorities/qa/authorities/solr_suggest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def parse_raw_response(raw, query:)
suggestions ||= []

suggestions.map do |res|
{ id: res['payload'], label: res['payload'], value: res['payload'] }
{ id: res['term'], label: res['term'], value: res['term'] }
end
end
end
Expand Down

0 comments on commit e322571

Please sign in to comment.