Authored by 周少峰

list-sale 左侧删除最新上架,search添加分类

@@ -292,7 +292,7 @@ class HelperSearch @@ -292,7 +292,7 @@ class HelperSearch
292 { 292 {
293 $result = array(); 293 $result = array();
294 $options = self::$options; 294 $options = self::$options;
295 - if (!isset($options['controller']) || $options['controller'] == 'Search') { 295 + if (!isset($options['controller']) || $options['controller'] != 'Search') {
296 return $result; 296 return $result;
297 } 297 }
298 $params = self::$params; 298 $params = self::$params;
@@ -150,7 +150,7 @@ class SearchModel @@ -150,7 +150,7 @@ class SearchModel
150 // 组合搜索折扣区间url 150 // 组合搜索折扣区间url
151 $urlList['discount'] = HelperSearch::getDiscountUrl($searchCondition['condition']); 151 $urlList['discount'] = HelperSearch::getDiscountUrl($searchCondition['condition']);
152 // 组合搜索最新上架url 152 // 组合搜索最新上架url
153 - $urlList['recent'] = HelperSearch::getRecentShelveUrl($searchCondition['condition']); 153 + //$urlList['recent'] = HelperSearch::getRecentShelveUrl($searchCondition['condition']);
154 //用户浏览记录 154 //用户浏览记录
155 //$urlList['reviewUrl'] = HelperSearch::getReviewUrl($searchCondition['condition']); 155 //$urlList['reviewUrl'] = HelperSearch::getReviewUrl($searchCondition['condition']);
156 156