Add hub selector filtering for available riders, refactor inventory filter to... #1731
1 changed files with 5 additions and 0 deletions
|
|
@ -99,6 +99,11 @@ class HubSelector
|
|||
|
||||
// loop through all enabled filters
|
||||
foreach ($this->getActiveFilters() as $hub_filter) {
|
||||
// no hubs left to filter
|
||||
if (empty($filtered_hubs)) {
|
||||
break;
|
||||
}
|
||||
|
||||
$f = $this->container->get($hub_filter);
|
||||
|
||||
// check if supported area is exempted from this filter
|
||||
|
|
|
|||
Loading…
Reference in a new issue