FIX: fix paginated results in root pages in content editor

This commit is contained in:
Michal Kváček
2017-03-23 00:01:47 +01:00
parent 52f39fda0c
commit 42066d4ae9
6 changed files with 18 additions and 17 deletions
+2 -1
View File
@@ -107,7 +107,8 @@ class Menu implements WidgetRenderer
$content = App::make(ContentContract::class);
// get list of all pages
$pages = $content->getOverview();
$pages = $content->getOverview()
->get();
// make object from JSON
if (!isset($widget->settings->links)) {