diff --git a/app/Controllers/DashboardController.php b/app/Controllers/DashboardController.php index 2cff943..53cb447 100644 --- a/app/Controllers/DashboardController.php +++ b/app/Controllers/DashboardController.php @@ -226,6 +226,7 @@ class DashboardController extends ResourceController ->where('pe.is_active', 1) ->where('ps.is_active', 1) ->where('pe.assigned_to IS NOT NULL') + ->where('ps.name IS NOT NULL') ->where('pe.assigned_to !=', 0) ->groupBy('pe.assigned_to') ->orderBy('ps.name', 'ASC')