Resolve "Set hub filtering option" #1532

Merged
korina.cordero merged 2 commits from 605-set-hub-filtering-option into master-fix 2021-07-29 07:43:46 +00:00
2 changed files with 2 additions and 0 deletions
Showing only changes of commit c261d43a6e - Show all commits

View file

@ -2765,6 +2765,7 @@ class APIController extends Controller implements LoggedController
// check if hub is null
if ($hub == null)
{
// TODO: need to factor out the setting of HubCriteria fields
$hub_criteria = new HubCriteria();
$hub_criteria->setPoint($jo->getCoordinates());

View file

@ -1954,6 +1954,7 @@ class ResqJobOrderHandler implements JobOrderHandlerInterface
$hub_criteria = new HubCriteria();
// TODO: need to factor out the setting of HubCriteria fields
// get battery (if any)
$skus = [];
$items = [];