From 3a80e3bcee26b4b814802e5dec7c18cc7ffd689c Mon Sep 17 00:00:00 2001 From: philipp lang Date: Tue, 11 Nov 2025 01:51:18 +0100 Subject: [PATCH] Fix participant scout index --- app/Form/Actions/UpdateParticipantSearchIndexAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Form/Actions/UpdateParticipantSearchIndexAction.php b/app/Form/Actions/UpdateParticipantSearchIndexAction.php index 9e6c34b0..c2f25c0e 100644 --- a/app/Form/Actions/UpdateParticipantSearchIndexAction.php +++ b/app/Form/Actions/UpdateParticipantSearchIndexAction.php @@ -18,10 +18,10 @@ class UpdateParticipantSearchIndexAction $form->searchableUsing()->updateIndexSettings( $form->participantsSearchableAs(), [ - 'filterableAttributes' => [...$form->getFields()->filterables()->getKeys(), 'parent-id'], + 'filterableAttributes' => [...$form->getFields()->filterables()->getKeys(), 'parent-id', 'cancelled_at'], 'searchableAttributes' => $form->getFields()->searchables()->getKeys(), 'sortableAttributes' => [...$form->getFields()->sortables()->getKeys(), 'id', 'created_at'], - 'displayedAttributes' => [...$form->getFields()->filterables()->getKeys(), ...$form->getFields()->searchables()->getKeys(), 'id'], + 'displayedAttributes' => [...$form->getFields()->filterables()->getKeys(), ...$form->getFields()->searchables()->getKeys(), 'id', 'cancelled_at'], 'pagination' => [ 'maxTotalHits' => 1000000, ]