Commit d1a3cd1d by dianc

Category Index Changes

parent 0ea084e9
...@@ -18,7 +18,7 @@ class CategorySearch extends Category ...@@ -18,7 +18,7 @@ class CategorySearch extends Category
public function rules() public function rules()
{ {
return [ return [
[['id', 'status', 'created_at', 'updated_at'], 'integer'], [['id', 'status', 'updated_at'], 'integer'],
[['name', 'slug', 'description', 'image_url', 'image_path'], 'safe'], [['name', 'slug', 'description', 'image_url', 'image_path'], 'safe'],
]; ];
} }
......
...@@ -40,7 +40,6 @@ $this->params['breadcrumbs'][] = $this->title; ...@@ -40,7 +40,6 @@ $this->params['breadcrumbs'][] = $this->title;
'enum' => Category::statuses(), 'enum' => Category::statuses(),
'filter' => Category::statuses() 'filter' => Category::statuses()
], ],
'status',
'created_at', 'created_at',
// 'updated_at', // 'updated_at',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment