]> BookStack Code Mirror - bookstack/blobdiff - app/Services/ActivityService.php
Adds overflow:auto to popup content to allow it to scroll in lower res.
[bookstack] / app / Services / ActivityService.php
index e4103623835af2d9c3c170a1a66e962cafb9743e..2368ba10aebd73a936ad39684be86d2a8e65241c 100644 (file)
@@ -114,7 +114,7 @@ class ActivityService
         
         $activity = $this->permissionService
             ->filterRestrictedEntityRelations($query, 'activities', 'entity_id', 'entity_type')
-            ->orderBy('created_at', 'desc')->skip($count * $page)->take($count)->get();
+            ->orderBy('created_at', 'desc')->with(['entity', 'user.avatar'])->skip($count * $page)->take($count)->get();
 
         return $this->filterSimilar($activity);
     }