1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-27 22:19:26 +01:00
This commit is contained in:
Thomas Zilio 2018-10-30 16:29:06 +01:00
parent 8aa09075ad
commit 03eb2ca8c6

View File

@ -144,6 +144,7 @@ class Module extends Model
public static function getHierarchy()
{
return self::with('allChildren')
->withoutGlobalScope('enabled')
->whereNull('parent')
->orderBy('order')
->get();