diff --git a/app/Http/Admin/Services/Tag.php b/app/Http/Admin/Services/Tag.php index b0a75ef52d01793ddddbe89a6a7b98a076bed89a..61a86c5ee893ddd45ab8499c98980ecafdc7b5eb 100644 --- a/app/Http/Admin/Services/Tag.php +++ b/app/Http/Admin/Services/Tag.php @@ -42,6 +42,7 @@ class Tag extends Service $tag = new TagModel(); $tag->name = $validator->checkName($post['name']); + $tag->priority = $validator->checkPriority($post['priority']); $tag->published = $validator->checkPublishStatus($post['published']); $tag->create(); diff --git a/app/Http/Admin/Views/tag/add.volt b/app/Http/Admin/Views/tag/add.volt index e3cb3cbf46a947d51a38d4d232eeb999b923fd0a..8dc363f1ba928085e49d1eee5b37ff507229f672 100644 --- a/app/Http/Admin/Views/tag/add.volt +++ b/app/Http/Admin/Views/tag/add.volt @@ -18,6 +18,13 @@ +