From 7b04c86714ff7ce2ec7ce8d13872739c0291f068 Mon Sep 17 00:00:00 2001 From: fabpl Date: Wed, 22 Nov 2023 16:43:37 +0100 Subject: [PATCH] fix: activities causer eager load --- src/Pages/ListActivities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pages/ListActivities.php b/src/Pages/ListActivities.php index f5cc0c8..852f2cc 100644 --- a/src/Pages/ListActivities.php +++ b/src/Pages/ListActivities.php @@ -44,7 +44,7 @@ public function getTitle(): string public function getActivities() { return $this->paginateTableQuery( - $this->record->activities()->latest()->getQuery() + $this->record->activities()->with('causer')->latest()->getQuery() ); }