Filter/Fixup
* only criteria should be affected by the match any/none selector * multi-selects are never null and shouldn't be tested as such.
This commit is contained in:
parent
a5129b46b2
commit
b4f40b4264
3 changed files with 15 additions and 8 deletions
|
|
@ -2130,14 +2130,14 @@ class ItemListFilter extends Filter
|
|||
}
|
||||
|
||||
// quality [list]
|
||||
if ($_v['qu'] !== null)
|
||||
if ($_v['qu'])
|
||||
$parts[] = ['quality', $_v['qu']];
|
||||
|
||||
// type
|
||||
if ($_v['ty'] !== null)
|
||||
// type [list]
|
||||
if ($_v['ty'])
|
||||
$parts[] = ['subclass', $_v['ty']];
|
||||
|
||||
// slot
|
||||
// slot [list]
|
||||
if ($_v['sl'])
|
||||
$parts[] = ['slot', $_v['sl']];
|
||||
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ class QuestListFilter extends Filter
|
|||
}
|
||||
|
||||
// questInfoId [list]
|
||||
if ($_v['ty'] !== null)
|
||||
if ($_v['ty'])
|
||||
$parts[] = ['questInfoId', $_v['ty']];
|
||||
|
||||
return $parts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue