...
|
...
|
@@ -247,7 +247,7 @@ class HelperSearch |
|
|
/**
|
|
|
* 组织搜索列表页面的左侧分类
|
|
|
* @param array $sort
|
|
|
* @param array $params
|
|
|
* @param array $option
|
|
|
* @return array
|
|
|
*/
|
|
|
public static function groupSort($sort, $option = array()) {
|
...
|
...
|
@@ -291,7 +291,7 @@ class HelperSearch |
|
|
);
|
|
|
foreach ($sort as $val) {
|
|
|
if (isset($params['msort']) && $params['msort'] == $val['sort_id']) {
|
|
|
$option['brandName'] ? self::$listnav[2]:self::$listnav[1] = array(
|
|
|
isset($option['brandName']) && $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']) {
|
|
|
$option['brandName'] ? self::$listnav[3]:self::$listnav[2] = array(
|
|
|
isset($option['brandName']) && $option['brandName'] ? self::$listnav[3]:self::$listnav[2] = array(
|
|
|
'sort_id' => $mval['sort_id'],
|
|
|
'name' => $mval['sort_name'],
|
|
|
'href' => ''
|
...
|
...
|
@@ -353,6 +353,7 @@ class HelperSearch |
|
|
/**
|
|
|
* 品牌,可以多选
|
|
|
* @param array $brand
|
|
|
* @param array $filter
|
|
|
* @param array $options
|
|
|
* @return array
|
|
|
*/
|
...
|
...
|
@@ -481,7 +482,7 @@ class HelperSearch |
|
|
|
|
|
/**
|
|
|
* 尺码的链接,不能多选
|
|
|
* @param array $size
|
|
|
* @param array $filter
|
|
|
* @return array
|
|
|
*/
|
|
|
public static function size($filter) {
|
...
|
...
|
|