...
|
...
|
@@ -32,9 +32,6 @@ class HelperSearch |
|
|
//设置导航
|
|
|
private static function setListNav()
|
|
|
{
|
|
|
if (isset(self::$options['controller']) && self::$options['controller'] == 'Search') {
|
|
|
|
|
|
}
|
|
|
$options = self::$options;
|
|
|
$cookieChannel = isset($_COOKIE['_Channel']) ? $_COOKIE['_Channel'] : 'boys';
|
|
|
if (isset($options['brandName']) && !empty($options['brandName'])) {
|
...
|
...
|
@@ -259,12 +256,13 @@ class HelperSearch |
|
|
|
|
|
public static function groupSort($sort)
|
|
|
{
|
|
|
$option = self::$options;
|
|
|
if (!isset($option['controller']) || $option['controller'] != 'Search') {
|
|
|
|
|
|
$options = self::$options;
|
|
|
if (isset($options['controller']) && $options['controller'] != 'Search') {
|
|
|
return array();
|
|
|
}
|
|
|
//设置导航
|
|
|
self::setListNav($option);
|
|
|
self::setListNav($options);
|
|
|
$params = self::$params;
|
|
|
$result = array(
|
|
|
'all' => array(
|
...
|
...
|
@@ -304,6 +302,7 @@ class HelperSearch |
|
|
}
|
|
|
}
|
|
|
$result['list'] = $sortList;
|
|
|
|
|
|
return $result;
|
|
|
}
|
|
|
|
...
|
...
|
|