Unverified Commit 58c97536 authored by Nicolas Widart's avatar Nicolas Widart Committed by GitHub

Merge pull request #669 from mikemand/hotfix/menu-parents-not-loading

Fix menu item parents not being loaded into dropdown
parents e10057af 87bf8c35
...@@ -84,7 +84,7 @@ class MenuItemController extends AdminBaseController ...@@ -84,7 +84,7 @@ class MenuItemController extends AdminBaseController
*/ */
private function getMenuSelect($menu) private function getMenuSelect($menu)
{ {
return $menu->menuitems()->where('is_root', '!=', true)->get()->nest()->listsFlattened('title'); return $menu->menuitems()->where('is_root', '!=', true)->get()->noCleaning()->nest()->listsFlattened('title');
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment