From: Dan Brown Date: Wed, 28 Feb 2024 13:20:24 +0000 (+0000) Subject: Entity popular queriy: Loaded parents for selector breadcrumbs X-Git-Tag: v24.02~1^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/8e01345f1494f37d462ad35fb6723c8051f9d752 Entity popular queriy: Loaded parents for selector breadcrumbs --- diff --git a/app/Entities/Queries/QueryPopular.php b/app/Entities/Queries/QueryPopular.php index 2b46ebfbc..85f88a1d1 100644 --- a/app/Entities/Queries/QueryPopular.php +++ b/app/Entities/Queries/QueryPopular.php @@ -35,7 +35,7 @@ class QueryPopular ->take($count) ->get(); - $this->listLoader->loadIntoRelations($views->all(), 'viewable', false); + $this->listLoader->loadIntoRelations($views->all(), 'viewable', true); return $views->pluck('viewable')->filter(); }