Skip to content
Snippets Groups Projects
Commit 4ca50bc1 authored by Mateus Rambo Strey's avatar Mateus Rambo Strey
Browse files

Update learning_object.rb

parent c2907926
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ class LearningObject < ApplicationRecord
default_scope { includes(:object_type, :attachment, :attachments) }
scope :missing_thumbnail, ->() { where(thumbnail_file_name: nil) }
searchkick language: 'brazilian', includes: [:license, :tags, :taggings, :publisher, :language], match: :word_start, searchable: [:name, :description, :author, :object_type], callbacks: false
searchkick language: 'brazilian', includes: [:license, :tags, :taggings, :publisher, :language], match: :word_start, searchable: [:name, :description, :author, :object_type], callbacks: :async
acts_as_paranoid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment