Skip to content

Commit 0bb44c5

Browse files
authored
Merge pull request #17 from Litecms/develop
Update Category.php
2 parents 1eb05a2 + aa35670 commit 0bb44c5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Forms/Category.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ public static function setAttributes()
5252
"roles" => [],
5353
]
5454
];
55+
self::$orderBy = [
56+
'created_at' => trans('blog::blog.label.created_at'),
57+
'name' => trans('blog::blog.label.title'),
58+
'status' => trans('blog::blog.label.status'),
59+
];
5560
self::$groups = [
5661
'main' => trans('blog::blog.groups.main'),
5762
'details' => trans('blog::blog.groups.details'),

0 commit comments

Comments
 (0)