mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Items/ListPage
* fixed displaying icon for currencies in vendor related columns
This commit is contained in:
@@ -175,8 +175,8 @@ class ItemsPage extends GenericPage
|
|||||||
$upgItems = new ItemList(array(['id', array_keys($this->filter['upg'])]), ['extraOpts' => $this->filterObj->extraOpts]);
|
$upgItems = new ItemList(array(['id', array_keys($this->filter['upg'])]), ['extraOpts' => $this->filterObj->extraOpts]);
|
||||||
if (!$upgItems->error)
|
if (!$upgItems->error)
|
||||||
{
|
{
|
||||||
$this->extendGlobalData($upgItems->getJSGlobals());
|
|
||||||
$upgItemData = $upgItems->getListviewData($infoMask);
|
$upgItemData = $upgItems->getListviewData($infoMask);
|
||||||
|
$this->extendGlobalData($upgItems->getJSGlobals(GLOBALINFO_SELF | GLOBALINFO_RELATED));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -316,11 +316,11 @@ class ItemsPage extends GenericPage
|
|||||||
if ($items->error)
|
if ($items->error)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$this->extendGlobalData($items->getJSGlobals());
|
|
||||||
$tabData = array_merge(
|
$tabData = array_merge(
|
||||||
['data' => $items->getListviewData($infoMask)],
|
['data' => $items->getListviewData($infoMask)],
|
||||||
$this->sharedLV
|
$this->sharedLV
|
||||||
);
|
);
|
||||||
|
$this->extendGlobalData($items->getJSGlobals(GLOBALINFO_SELF | GLOBALINFO_RELATED));
|
||||||
|
|
||||||
$upg = [];
|
$upg = [];
|
||||||
if ($upgItemData)
|
if ($upgItemData)
|
||||||
|
|||||||
@@ -734,7 +734,7 @@ class NpcPage extends GenericPage
|
|||||||
'name' => $sf[2],
|
'name' => $sf[2],
|
||||||
'id' => $sf[3],
|
'id' => $sf[3],
|
||||||
'extraCols' => $extraCols,
|
'extraCols' => $extraCols,
|
||||||
'sort' => ['-percent', 'name'],
|
'sort' => ['-percent', 'name']
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!empty($sf['note']))
|
if (!empty($sf['note']))
|
||||||
|
|||||||
Reference in New Issue
Block a user