diff --git a/models/Post.php b/models/Post.php index 869e7d0b..f360db36 100644 --- a/models/Post.php +++ b/models/Post.php @@ -67,7 +67,7 @@ class Post extends Model public static $allowedSortingOptions = [ 'title asc' => 'rainlab.blog::lang.sorting.title_asc', 'title desc' => 'rainlab.blog::lang.sorting.title_desc', - 'created_at asc ' => 'rainlab.blog::lang.sorting.created_asc', + 'created_at asc' => 'rainlab.blog::lang.sorting.created_asc', 'created_at desc' => 'rainlab.blog::lang.sorting.created_desc', 'updated_at asc' => 'rainlab.blog::lang.sorting.updated_asc', 'updated_at desc' => 'rainlab.blog::lang.sorting.updated_desc',