setter
parent
2d71d9e498
commit
49564e5678
|
@ -78,7 +78,7 @@ class SpuRepository extends Repository
|
|||
$whereMap[] = ['saleable', '=', $params['saleable']];
|
||||
}
|
||||
|
||||
if (isset($params['keyword']) && !empty(trim($params['keyword']))) {
|
||||
if (isset($params['keyword']) && !empty($params['keyword'])) {
|
||||
$whereMap[] = ['name|subtitle', 'like', '%'.trim($params['keyword']).'%'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue