Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Added slug and name to order by list
givanze7ed8a3f209d
diff --git a/app/component/posts.php b/app/component/posts.phpindex fbe0350..ee3bca8 100755--- a/app/component/posts.php+++ b/app/component/posts.php@@ -105,7 +105,7 @@ class Posts extends ComponentBase {}if (isset($this->options['order_by']) &&- ! in_array($this->options['order_by'], ['post_id', 'admin_id', 'sort_order', 'parent', 'type', 'created_at', 'updated_at'])) {+ ! in_array($this->options['order_by'], ['post_id', 'admin_id', 'sort_order', 'parent', 'type', 'created_at', 'updated_at', 'slug', 'name'])) {unset($this->options['order_by']);}