From d837cd8af5a3cec8a6064fe283228bf71cf26cac Mon Sep 17 00:00:00 2001 From: sbwalker Date: Sun, 19 Oct 2025 13:43:27 -0400 Subject: [PATCH] fix #5714 - order Profile properties by Category and then ViewOrder --- Oqtane.Client/Services/ProfileService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Oqtane.Client/Services/ProfileService.cs b/Oqtane.Client/Services/ProfileService.cs index bf2c7e54..24d6f9b8 100644 --- a/Oqtane.Client/Services/ProfileService.cs +++ b/Oqtane.Client/Services/ProfileService.cs @@ -60,7 +60,7 @@ namespace Oqtane.Services public async Task> GetProfilesAsync(int siteId) { List profiles = await GetJsonAsync>($"{Apiurl}?siteid={siteId}"); - return profiles.OrderBy(item => item.ViewOrder).ToList(); + return profiles.OrderBy(item => item.Category).ThenBy(item => item.ViewOrder).ToList(); } public async Task GetProfileAsync(int profileId)