From faa256dd923bf4aa9ff72f2df981485b5d0994cf Mon Sep 17 00:00:00 2001 From: BatJan <1932158+BatJan@users.noreply.github.com> Date: Mon, 3 Oct 2022 22:36:11 +0200 Subject: [PATCH] Change prevalue order (cherry picked from commit 8fe699f26b890d81cc118fa9f543a762622eab2e) --- src/Umbraco.Core/PropertyEditors/ListViewConfiguration.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Core/PropertyEditors/ListViewConfiguration.cs b/src/Umbraco.Core/PropertyEditors/ListViewConfiguration.cs index 13f423a328..6b44d4ba56 100644 --- a/src/Umbraco.Core/PropertyEditors/ListViewConfiguration.cs +++ b/src/Umbraco.Core/PropertyEditors/ListViewConfiguration.cs @@ -54,9 +54,6 @@ public class ListViewConfiguration [ConfigurationField("pageSize", "Page Size", "number", Description = "Number of items per page")] public int PageSize { get; set; } - [ConfigurationField("orderBy", "Order By", "views/propertyeditors/listview/sortby.prevalues.html", Description = "The default sort order for the list")] - public string OrderBy { get; set; } - [ConfigurationField("orderDirection", "Order Direction", "views/propertyeditors/listview/orderDirection.prevalues.html")] public string OrderDirection { get; set; } @@ -67,6 +64,9 @@ public class ListViewConfiguration Description = "The properties that will be displayed for each column")] public Property[] IncludeProperties { get; set; } + [ConfigurationField("orderBy", "Order By", "views/propertyeditors/listview/sortby.prevalues.html", Description = "The default sort order for the list")] + public string OrderBy { get; set; } + [ConfigurationField("layouts", "Layouts", "views/propertyeditors/listview/layouts.prevalues.html")] public Layout[] Layouts { get; set; }