From cd2904817e60daeb98a2bf6ee84d55db181bcfab Mon Sep 17 00:00:00 2001 From: HirschleM Date: Tue, 5 May 2026 14:36:50 +0200 Subject: [PATCH] MH: Mittelpunkt Sortierung Dienstplandruck --- ReportImp/Mittelpunkt/RosterIstReport.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ReportImp/Mittelpunkt/RosterIstReport.cs b/ReportImp/Mittelpunkt/RosterIstReport.cs index 16446578f..fb0e96079 100644 --- a/ReportImp/Mittelpunkt/RosterIstReport.cs +++ b/ReportImp/Mittelpunkt/RosterIstReport.cs @@ -25,6 +25,8 @@ namespace Mittelpunkt public void SetReportDataSource(RosterIstRO pRO) { + pRO.PageObjects = pRO.PageObjects.OrderBy(po => po.Mitarbeiter.LastName).ToList(); + var empOids = pRO.PageObjects.Select(po => po.Mitarbeiter.EmployeeOid.Value); DateTime datum = DateTime.Today; if (pRO.PageObjects != null && pRO.PageObjects.Count > 0)