Skip to content

Commit 7b9ea43

Browse files
committed
CU-868a7t5eb Fixed upcoming calendar item ordering issue.
1 parent f1fa63c commit 7b9ea43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Web/Resgrid.Web.ServicesCore/Controllers/v4/CalendarController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public async Task<ActionResult<GetAllCalendarItemResult>> GetDepartmentCalendarI
109109

110110
if (items != null && items.Any())
111111
{
112-
112+
items = items.OrderBy(x => x.Start).ToList();
113113
foreach (var item in items)
114114
{
115115
if (item.ItemType > 0)

0 commit comments

Comments
 (0)