* Fix bug#25416
This commit is contained in:
@@ -1263,7 +1263,7 @@ class product extends control
|
||||
$pager = new pager($recTotal, $recPerPage, $pageID);
|
||||
|
||||
/* Process product structure. */
|
||||
if($this->config->systemMode == 'classic' and $orderBy == 'program_asc') $orderBy = 'order_asc';
|
||||
if($this->config->systemMode == 'classic' and $orderBy == 'program_asc') $orderBy = 'line_desc,order_asc';
|
||||
$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` asc')->fetchAll();
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
<?php endif;?>
|
||||
|
||||
<?php foreach($program as $lineID => $line):?>
|
||||
<?php if(isset($line['lineName'])):?>
|
||||
<?php if(isset($line['lineName']) and isset($line['products']) and is_array($line['products'])):?>
|
||||
<?php $lineNames[] = $line['lineName'];?>
|
||||
<?php
|
||||
if($this->config->systemMode == 'new' and $programID)
|
||||
|
||||
Reference in New Issue
Block a user