fix #2777 - module rendering order within pane - moved default module ordering logic to server API for consistency and better performance

This commit is contained in:
sbwalker
2023-05-03 12:25:52 -04:00
parent e4a24df7b4
commit e444c6bcf0
4 changed files with 5 additions and 6 deletions

View File

@ -9,6 +9,7 @@ using Oqtane.Infrastructure;
using Oqtane.Repository;
using Oqtane.Security;
using System.Net;
using System.Security.Policy;
namespace Oqtane.Controllers
{
@ -83,6 +84,7 @@ namespace Oqtane.Controllers
modules.Add(module);
}
modules = modules.OrderBy(item => item.PageId).ThenBy(item => item.Pane).ThenBy(item => item.Order).ToList();
}
}
else