Skip to content

Commit

Permalink
removed that clause
Browse files Browse the repository at this point in the history
  • Loading branch information
Godmartinz committed Jan 4, 2024
1 parent 07eeaea commit 4373726
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Models/LicenseSeat.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ public function scopeOrderDepartments($query, $order)
return $query->leftJoin('users as license_seat_users', 'license_seats.assigned_to', '=', 'license_seat_users.id')
->leftJoin('departments as license_user_dept', 'license_user_dept.id', '=', 'license_seat_users.department_id')
->whereNotNull('license_seats.assigned_to')
->whereNotNull('license_user_dept.id')
->orderBy('license_user_dept.name', $order);
}
}

0 comments on commit 4373726

Please sign in to comment.