Closed piotrh052b closed 4 months ago
I think I found a solution by overriding the getActivities() method
public function getActivities() { return $this->paginateTableQuery( $this->applyFilters(Activity::with(['causer'])->latest()) ); }
Is this a correct solution ?
It's seems fixed but you didn't add last release this PR.
What happened?
Cannot display activity log if Model lazy loading is disabled.
How to reproduce the bug
Add Model::shouldBeStrict(); in AppServiceProvider boot() method. Make some changes in records. Try to display Activity history.
Package Version
2.2.0
PHP Version
8.1
Laravel Version
10.41
Which operating systems does with happen with?
Windows
Notes
No response