fix: orWhereIn typo; broaden illuminate/support and inertia-laravel version constraints
This commit is contained in:
@@ -87,7 +87,7 @@ class TicketController extends Controller
|
||||
|
||||
$groups = TicketingGroup::when($isAgent, fn($q) => $q->whereIn('id', $agentGroupIds))->get();
|
||||
$priorities = PriorityLevel::whereNull('group_id')
|
||||
->orWhenIn('group_id', $agentGroupIds ?? [])
|
||||
->orWhereIn('group_id', $agentGroupIds ?? [])
|
||||
->orderBy('sort_order')
|
||||
->get();
|
||||
$projects = TicketingProject::when($isAgent, fn($q) => $q->whereIn('group_id', $agentGroupIds))
|
||||
|
||||
Reference in New Issue
Block a user