Change link previews to keep original URL from the status (#27312)
This commit is contained in:
@@ -53,7 +53,7 @@ class PublicStatusesIndex < Chewy::Index
|
||||
index_scope ::Status.unscoped
|
||||
.kept
|
||||
.indexable
|
||||
.includes(:media_attachments, :preloadable_poll, :preview_cards, :tags)
|
||||
.includes(:media_attachments, :preloadable_poll, :tags, preview_cards_status: :preview_card)
|
||||
|
||||
root date_detection: false do
|
||||
field(:id, type: 'long')
|
||||
|
||||
Reference in New Issue
Block a user