From 71f4eba50052f1dda52179706d2dcdb6097728c5 Mon Sep 17 00:00:00 2001 From: KMY Date: Wed, 6 Sep 2023 09:52:34 +0900 Subject: [PATCH] Fix indexing error --- app/chewy/statuses_index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chewy/statuses_index.rb b/app/chewy/statuses_index.rb index ca119e3779..2ded80e6eb 100644 --- a/app/chewy/statuses_index.rb +++ b/app/chewy/statuses_index.rb @@ -126,7 +126,7 @@ class StatusesIndex < Chewy::Index if status.searchability == 'direct' status.searchable_by.empty? else - status.searchability == 'limited' ? status.domain.present? : false + status.searchability == 'limited' ? status.account.domain.present? : false end }