ItemFilter/TabLinks

* always display FilterResult prompt on currency-for tabs
 * fixed display of FilterResult prompt on item currency-for tab
This commit is contained in:
Sarjuuk
2024-03-09 22:30:52 +01:00
parent 88b62730e1
commit 25b5928a22
3 changed files with 17 additions and 10 deletions

View File

@@ -2052,6 +2052,11 @@ class ItemListFilter extends Filter
return $this->wtCnd;
}
public function isCurrencyFor(int $itemId) : bool
{
return in_array($itemId, self::ENUM_CURRENCY);
}
protected function createSQLForValues()
{
$parts = [];