Add hub selector filtering for available riders, refactor inventory filter to... #1731

Merged
arcticzero merged 42 commits from 800-automatically-reject-jo-if-no-riders-or-inventory into master 2024-07-18 08:34:03 +00:00
Showing only changes of commit 44b3753ece - Show all commits

View file

@ -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