...
|
...
|
@@ -327,12 +327,7 @@ class SearchController extends AbstractAction |
|
|
$tagSale = $this->get('tagSale', 0);
|
|
|
$tagSale = $tagSale === 0 ? true : false;
|
|
|
// 过滤掉值为空的条件
|
|
|
if (isset($condition['age_level']) && $condition['age_level'] === '0'){ //年龄删选的成人id为0
|
|
|
$condition = array_filter($condition);
|
|
|
$condition['age_level'] = '0';
|
|
|
}else{
|
|
|
$condition = array_filter($condition);
|
|
|
}
|
|
|
|
|
|
// /* 模糊搜索关键词 */
|
|
|
// if (isset($condition['query'])) {
|
...
|
...
|
|