mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-23 11:39:19 -05:00
update: allow users to be part of multiple internal groups
This commit is contained in:
@@ -65,7 +65,9 @@ class PageController extends Controller
|
||||
{
|
||||
return view('page.internal', [
|
||||
'internals' => Internal::query()
|
||||
->with('users.group')
|
||||
->with([
|
||||
'users' => fn ($query) => $query->with('group')->orderByPivot('position', 'asc'),
|
||||
])
|
||||
->orderBy('name')
|
||||
->get(),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user