We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c56c7dd commit bcd32daCopy full SHA for bcd32da
app/Http/Controllers/Api/DepartmentsController.php
@@ -40,7 +40,7 @@ public function index(Request $request) : JsonResponse | array
40
'departments.image',
41
'departments.tag_color',
42
'departments.notes'
43
- ])->with('users')->with('location')->with('manager')->with('company')->withCount('users as users_count');
+ ])->with('location')->with('manager')->with('company')->withCount('users as users_count');
44
45
if ($request->filled('search')) {
46
$departments = $departments->TextSearch($request->input('search'));
0 commit comments