Skip to content

Commit

Permalink
Merge pull request #29 from fabpl/fix/activities-causer-eager-load
Browse files Browse the repository at this point in the history
fix: activities causer eager load
  • Loading branch information
pxlrbt authored Nov 22, 2023
2 parents 63b4644 + 7b04c86 commit a051307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/ListActivities.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
}

Expand Down

0 comments on commit a051307

Please sign in to comment.