Authored by hf

fixes bug to brand list not return brand id

@@ -115,6 +115,10 @@ class IndexController extends AbstractAction @@ -115,6 +115,10 @@ class IndexController extends AbstractAction
115 'p_d' => FILTER_DEFAULT,), false); 115 'p_d' => FILTER_DEFAULT,), false);
116 $condition['brand'] = $brandId; 116 $condition['brand'] = $brandId;
117 117
  118 + if ($brandId === 0) {
  119 + $condition['query'] = $domain;
  120 + }
  121 +
118 if (isset($condition['gender'])) { 122 if (isset($condition['gender'])) {
119 $condition['gender'] = rawurldecode($condition['gender']); 123 $condition['gender'] = rawurldecode($condition['gender']);
120 } else { 124 } else {