sprint_204_57091

This commit is contained in:
sunjun
2022-06-15 09:04:38 +00:00
parent 43e78a280e
commit 9d2b2a530e
+1 -1
View File
@@ -1222,7 +1222,7 @@ class product extends control
$productStats = $this->product->getStats($orderBy, $pager, $browseType, '', 'story', '', $queryID);
$productStructure = $this->product->statisticProgram($productStats);
$productLines = $this->dao->select('*')->from(TABLE_MODULE)->where('type')->eq('line')->andWhere('deleted')->eq(0)->orderBy('`order`')->fetchAll();
krsort($productLines);
array_multisort(array_column($productLines, 'order'), SORT_ASC, $productLines);
$programLines = array();
foreach($productLines as $index => $productLine)