From c6d6f067ebf424535630ac3b9d687383f13667ed Mon Sep 17 00:00:00 2001 From: Adrien POLY Date: Tue, 9 Jul 2024 08:52:26 +0200 Subject: [PATCH] add transcript to the search --- app/models/talk.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/talk.rb b/app/models/talk.rb index dcd9c57e..98ea09d3 100644 --- a/app/models/talk.rb +++ b/app/models/talk.rb @@ -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 ["*"]