|
...
|
...
|
@@ -905,7 +905,7 @@ class ProductLogic extends BaseLogic |
|
|
|
$this->param['deleted_at'] = null;
|
|
|
|
$this->param['featured_status'] = $this->param['featured_status'] ?? 0;
|
|
|
|
if(($this->param['featured_status'] != Category::STATUS_ACTIVE)) {
|
|
|
|
$this->param['title'] = ['not like','Featured%'];
|
|
|
|
$this->param['title'] = ['in',['Featured','featured']];
|
|
|
|
}
|
|
|
|
unset($this->param['featured_status']);
|
|
|
|
$list = $categoryModel->list($this->param, ['sort', 'id'], ['id', 'pid', 'title']);
|
...
|
...
|
|