Entity popular queriy: Loaded parents for selector breadcrumbs
This commit is contained in:
parent
f5f96f84e7
commit
8e01345f14
|
@ -35,7 +35,7 @@ class QueryPopular
|
||||||
->take($count)
|
->take($count)
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
$this->listLoader->loadIntoRelations($views->all(), 'viewable', false);
|
$this->listLoader->loadIntoRelations($views->all(), 'viewable', true);
|
||||||
|
|
||||||
return $views->pluck('viewable')->filter();
|
return $views->pluck('viewable')->filter();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue