From ff06b04e91cecda4b51a81043eb39fd4b5f92bfa Mon Sep 17 00:00:00 2001 From: KMY Date: Wed, 30 Aug 2023 10:59:35 +0900 Subject: [PATCH] Fix misstake --- 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 4c8ec5f440..ca119e3779 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.blank? : false + status.searchability == 'limited' ? status.domain.present? : false end }