diff --git a/src/Service/HubDistributor.php b/src/Service/HubDistributor.php index 8b296b7f..27a70f15 100644 --- a/src/Service/HubDistributor.php +++ b/src/Service/HubDistributor.php @@ -71,6 +71,8 @@ class HubDistributor // check if hub is in hash. if not, hub has no jobs // but should still be added to results + // TODO: rename the jo_count key so that it won't collide + // later on with the dispatch JO page. if ($hub_jo_count != null) { $arranged_hubs[] = [ diff --git a/src/Service/JobOrderHandler/ResqJobOrderHandler.php b/src/Service/JobOrderHandler/ResqJobOrderHandler.php index a7f23150..ba7125f0 100644 --- a/src/Service/JobOrderHandler/ResqJobOrderHandler.php +++ b/src/Service/JobOrderHandler/ResqJobOrderHandler.php @@ -2121,7 +2121,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface $hub['redis_jo_count'] = $hub['jo_count']; //$hub['redis_jo_count'] = 0; // $hub['jo_count'] = count($hub['hub']->getForAssignmentJobOrders()); - //$hub['jo_count'] = $hub['jo_count']; + $hub['jo_count'] = $hub['redis_jo_count']; // check for rejection $hub['flag_rejected'] = false;