ItemFilter/Fixup 16eabb90b6

* fix lost item grouping
 * fix type selector in filter form
 * fix item upgrade search
This commit is contained in:
Sarjuuk
2025-08-06 13:43:12 +02:00
parent 8d7c95378c
commit 0753bfbcf6
3 changed files with 16 additions and 12 deletions

View File

@@ -292,7 +292,7 @@ abstract class Filter
{
// quirk: in the POST step criteria can be [[''], null, null] if not selected.
$buff = [];
foreach ($val as $v)
foreach ((array)$val as $v) // can be string|int in POST step if only one value present
if ($v !== '' && $this->checkInput($type, $valid, $v))
$buff[] = $v;