Showing
2 changed files
with
3 additions
and
2 deletions
@@ -397,7 +397,7 @@ class HelperSearch | @@ -397,7 +397,7 @@ class HelperSearch | ||
397 | $brandParam = $brandIds; | 397 | $brandParam = $brandIds; |
398 | unset($brandParam[$key]); | 398 | unset($brandParam[$key]); |
399 | $params['brand'] = implode(',', $brandParam); | 399 | $params['brand'] = implode(',', $brandParam); |
400 | - self::$selected['brand'][] = array( | 400 | + self::$selected['brand'] = array( |
401 | 'name' => $brandAll[$val], | 401 | 'name' => $brandAll[$val], |
402 | 'href' => self::buildUrl($params) | 402 | 'href' => self::buildUrl($params) |
403 | ); | 403 | ); |
@@ -213,7 +213,8 @@ class SearchModel | @@ -213,7 +213,8 @@ class SearchModel | ||
213 | */ | 213 | */ |
214 | public static function getSuggest($query) | 214 | public static function getSuggest($query) |
215 | { | 215 | { |
216 | - $result = SearchData::getSuggest(); | 216 | + $param = array(); |
217 | + $result = SearchData::getSuggest($param); | ||
217 | return $result; | 218 | return $result; |
218 | } | 219 | } |
219 | } | 220 | } |
-
Please register or login to post a comment