Skip to content

Commit

Permalink
add transcript to the search
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Jul 9, 2024
1 parent 2dee75c commit c6d6f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/talk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Talk < ApplicationRecord
attribute :transcript do
transcript.to_text
end
searchable_attributes [:title, :description, :speaker_names, :event_name]
searchable_attributes [:title, :description, :speaker_names, :event_name, :transcript]
sortable_attributes [:title]

attributes_to_highlight ["*"]
Expand Down

0 comments on commit c6d6f06

Please sign in to comment.