From e5c259984621158afd61817b73eca0cd9a08a442 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Tue, 11 Nov 2025 02:47:40 +0100 Subject: [PATCH] Fix tests --- app/Form/Models/Participant.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/Form/Models/Participant.php b/app/Form/Models/Participant.php index 4292d117..e7b52a26 100644 --- a/app/Form/Models/Participant.php +++ b/app/Form/Models/Participant.php @@ -109,7 +109,12 @@ class Participant extends Model implements Preventable /** @return array */ public function toSearchableArray(): array { - return [...$this->data, 'parent-id' => $this->parent_id, 'created_at' => $this->created_at->timestamp]; + return [ + ...$this->data, + 'parent-id' => $this->parent_id, + 'created_at' => $this->created_at->timestamp, + 'cancelled_at' => $this->cancelled_at + ]; } public function matchesCondition(Condition $condition): bool {