From 2ca446d9958516788719d2468b517b3668b4e13f 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 ce8d34de0e..5c993422de 100644 --- a/app/chewy/statuses_index.rb +++ b/app/chewy/statuses_index.rb @@ -147,7 +147,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 }