Authored by Rock Zhang

修复new页面筛选数据错误的bug,传递p_d参数导致

@@ -177,7 +177,10 @@ class NewsaleController extends AbstractAction @@ -177,7 +177,10 @@ class NewsaleController extends AbstractAction
177 $color = $this->get('color', null); 177 $color = $this->get('color', null);
178 $size = $this->get('size', null); 178 $size = $this->get('size', null);
179 $price = $this->get('price', null); 179 $price = $this->get('price', null);
  180 + $p_d = $this->get('discount', null);
  181 + if ($p_d !== null) {
180 $p_d = '0.1,0.3'; 182 $p_d = '0.1,0.3';
  183 + }
181 $dayLimit = $this->get('dayLimit', null); 184 $dayLimit = $this->get('dayLimit', null);
182 $limit = $this->get('limit', 60); 185 $limit = $this->get('limit', 60);
183 $page = $this->get('page', 1); 186 $page = $this->get('page', 1);