改版
This commit is contained in:
@@ -25,7 +25,7 @@ class IndexController extends AdminController
|
||||
$filter->equal('categories.id', '所属分类')
|
||||
->select(Category::selectOptions(function ($model) {
|
||||
return $model->where('status', 1)
|
||||
->whereIn('type', [Category::TYPE_ARTICLE, Category::TYPE_SHOW]);
|
||||
->whereIn('type', [Category::TYPE_ARTICLE, Category::TYPE_SHOW,Category::TYPE_PERSON]);
|
||||
}, '所有分类'));
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user