]> BookStack Code Mirror - bookstack/blobdiff - app/Activity/Controllers/AuditLogController.php
respective book and chapter structure added.
[bookstack] / app / Activity / Controllers / AuditLogController.php
index c3910a26b4c1eb38bdd48371ffb1055f6613d8eb..641106d7f450697b1c189b128264feecc46c9b06 100644 (file)
@@ -32,7 +32,7 @@ class AuditLogController extends Controller
 
         $query = Activity::query()
             ->with([
-                'entity' => fn ($query) => $query->withTrashed(),
+                'loggable' => fn ($query) => $query->withTrashed(),
                 'user',
             ])
             ->orderBy($listOptions->getSort(), $listOptions->getOrder());