...
|
...
|
@@ -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']);
|
...
|
...
|
@@ -478,7 +486,6 @@ class HelperSearch |
|
|
return $result;
|
|
|
}
|
|
|
|
|
|
sort($filter['ageLevel']);
|
|
|
foreach ($filter['ageLevel'] as $key => $val) {
|
|
|
if (intval($val['id']) === $ageLevel) {
|
|
|
self::$selected['ageLevel'] = array(
|
...
|
...
|
|