车辆列表
This commit is contained in:
@@ -121,6 +121,7 @@ class VehicleNewController extends BaseController
|
||||
$params = parent::prepareParams($request, $scene);
|
||||
|
||||
if ($scene === 'default') {
|
||||
$params['filters'] = [];
|
||||
if(!empty($params['brand'])){
|
||||
$params['filters'][] = ['field' => 'brand', 'operator' => '=', 'value' => $params['brand']];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user