Items/ListPage

* fixed displaying icon for currencies in vendor related columns
This commit is contained in:
Sarjuuk
2023-05-15 19:51:33 +02:00
parent e71da620c6
commit fc7a526a67
2 changed files with 3 additions and 3 deletions

View File

@@ -175,8 +175,8 @@ class ItemsPage extends GenericPage
$upgItems = new ItemList(array(['id', array_keys($this->filter['upg'])]), ['extraOpts' => $this->filterObj->extraOpts]);
if (!$upgItems->error)
{
$this->extendGlobalData($upgItems->getJSGlobals());
$upgItemData = $upgItems->getListviewData($infoMask);
$this->extendGlobalData($upgItems->getJSGlobals(GLOBALINFO_SELF | GLOBALINFO_RELATED));
}
}
@@ -316,11 +316,11 @@ class ItemsPage extends GenericPage
if ($items->error)
continue;
$this->extendGlobalData($items->getJSGlobals());
$tabData = array_merge(
['data' => $items->getListviewData($infoMask)],
$this->sharedLV
);
$this->extendGlobalData($items->getJSGlobals(GLOBALINFO_SELF | GLOBALINFO_RELATED));
$upg = [];
if ($upgItemData)

View File

@@ -734,7 +734,7 @@ class NpcPage extends GenericPage
'name' => $sf[2],
'id' => $sf[3],
'extraCols' => $extraCols,
'sort' => ['-percent', 'name'],
'sort' => ['-percent', 'name']
);
if (!empty($sf['note']))