Authored by Rock Zhang

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

... ... @@ -177,7 +177,10 @@ class NewsaleController extends AbstractAction
$color = $this->get('color', null);
$size = $this->get('size', null);
$price = $this->get('price', null);
$p_d = '0.1,0.3';
$p_d = $this->get('discount', null);
if ($p_d !== null) {
$p_d = '0.1,0.3';
}
$dayLimit = $this->get('dayLimit', null);
$limit = $this->get('limit', 60);
$page = $this->get('page', 1);
... ...