Entity popular queriy: Loaded parents for selector breadcrumbs

This commit is contained in:
Dan Brown 2024-02-28 13:20:24 +00:00
parent f5f96f84e7
commit 8e01345f14
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -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();
}