mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-27 22:19:26 +01:00
Fix #340
This commit is contained in:
parent
8aa09075ad
commit
03eb2ca8c6
@ -144,6 +144,7 @@ class Module extends Model
|
||||
public static function getHierarchy()
|
||||
{
|
||||
return self::with('allChildren')
|
||||
->withoutGlobalScope('enabled')
|
||||
->whereNull('parent')
|
||||
->orderBy('order')
|
||||
->get();
|
||||
|
Loading…
x
Reference in New Issue
Block a user