...
|
...
|
@@ -74,7 +74,7 @@ class HelperSearch |
|
|
//分类
|
|
|
$result['filters']['sort'] = array();
|
|
|
//品牌
|
|
|
$result['filters']['brand'] = self::brand($filter);
|
|
|
$result['filters']['brand'] = self::brand($filter, $options);
|
|
|
//价格
|
|
|
$result['filters']['price'] = self::price($filter);
|
|
|
//颜色
|
...
|
...
|
@@ -251,7 +251,7 @@ class HelperSearch |
|
|
* @return array
|
|
|
*/
|
|
|
public static function groupSort($sort, $option = array()) {
|
|
|
self::setListNav();
|
|
|
self::setListNav($option);
|
|
|
$params = self::$params;
|
|
|
$gender = isset($params['gender']) ? $params['gender'] : '';
|
|
|
|
...
|
...
|
@@ -291,7 +291,7 @@ class HelperSearch |
|
|
);
|
|
|
foreach ($sort as $val) {
|
|
|
if (isset($params['msort']) && $params['msort'] == $val['sort_id']) {
|
|
|
self::$listnav[1] = array(
|
|
|
$option['brandName'] ? self::$listnav[2]:self::$listnav[1] = array(
|
|
|
'sort_id' => $val['sort_id'],
|
|
|
'name' => $val['sort_name'],
|
|
|
'href' => self::buildurl(array(
|
...
|
...
|
@@ -325,7 +325,7 @@ class HelperSearch |
|
|
);
|
|
|
foreach ($val['sub'] as $mval) {
|
|
|
if (isset($params['misort']) && $params['misort'] == $mval['sort_id']) {
|
|
|
self::$listnav[2] = array(
|
|
|
$option['brandName'] ? self::$listnav[3]:self::$listnav[2] = array(
|
|
|
'sort_id' => $mval['sort_id'],
|
|
|
'name' => $mval['sort_name'],
|
|
|
'href' => ''
|
...
|
...
|
|