...
|
...
|
@@ -290,7 +290,8 @@ class HelperSearch |
|
|
);
|
|
|
foreach ($sort as $val) {
|
|
|
if (isset($params['msort']) && $params['msort'] == $val['sort_id']) {
|
|
|
isset($option['brandName']) && $option['brandName'] ? self::$listnav[2]:self::$listnav[1] = array(
|
|
|
$nav_index = isset($option['brandName']) && $option['brandName'] ? 2 : 1;
|
|
|
self::$listnav[$nav_index] = array(
|
|
|
'sort_id' => $val['sort_id'],
|
|
|
'name' => $val['sort_name'],
|
|
|
'href' => self::buildurl(array(
|
...
|
...
|
@@ -324,7 +325,8 @@ class HelperSearch |
|
|
);
|
|
|
foreach ($val['sub'] as $mval) {
|
|
|
if (isset($params['misort']) && $params['misort'] == $mval['sort_id']) {
|
|
|
isset($option['brandName']) && $option['brandName'] ? self::$listnav[3]:self::$listnav[2] = array(
|
|
|
$nav_index = isset($option['brandName']) && $option['brandName'] ? 3 : 2;
|
|
|
self::$listnav[$nav_index] = array(
|
|
|
'sort_id' => $mval['sort_id'],
|
|
|
'name' => $mval['sort_name'],
|
|
|
'href' => ''
|
...
|
...
|
|