...
|
...
|
@@ -470,6 +470,14 @@ class HelperSearch |
|
|
return $result;
|
|
|
}
|
|
|
$params = self::$params;
|
|
|
do {
|
|
|
if (isset($params['ageLevel']) && $params['ageLevel'] == 1) {
|
|
|
break;
|
|
|
}
|
|
|
if (count($filter['ageLevel']) === 1 && $filter['ageLevel'][0]['name'] === '成人') {
|
|
|
return $result;
|
|
|
}
|
|
|
}while(false);
|
|
|
$ageLevel = isset($params['ageLevel']) ? $params['ageLevel'] : '';
|
|
|
if (isset($params['ageLevel'])) {
|
|
|
unset($params['ageLevel']);
|
...
|
...
|
@@ -477,8 +485,7 @@ class HelperSearch |
|
|
if (self::$total == 0) {
|
|
|
return $result;
|
|
|
}
|
|
|
|
|
|
sort($filter['ageLevel']);
|
|
|
|
|
|
foreach ($filter['ageLevel'] as $key => $val) {
|
|
|
if (intval($val['id']) === $ageLevel) {
|
|
|
self::$selected['ageLevel'] = array(
|
...
|
...
|
|