]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/AuditLogController.php
Checked over recycle bin parent/child flows
[bookstack] / app / Http / Controllers / AuditLogController.php
index a3ef01baa472ec923de70068abcc84ee2fe09439..fad4e8d38a0db99ef3802ea64c2500529b3a4713 100644 (file)
@@ -23,7 +23,12 @@ class AuditLogController extends Controller
         ];
 
         $query = Activity::query()
-            ->with(['entity', 'user'])
+            ->with([
+                'entity' => function ($query) {
+                    $query->withTrashed();
+                },
+                'user'
+            ])
             ->orderBy($listDetails['sort'], $listDetails['order']);
 
         if ($listDetails['event']) {