Add service request categories to ticket overview API

This commit is contained in:
Meik
2026-07-17 18:38:21 +02:00
parent cec49319da
commit cd47a8d0b7
4 changed files with 85 additions and 38 deletions

View File

@@ -117,7 +117,7 @@ namespace C4IT.F4SD
var source = !useRoleScope && IsUnassignedOverviewKey(key)
? unassignedEntries ?? new List<TicketOverviewEntry>()
: entries;
counts[key] = source.Count(entry => MatchesTicketOverviewKey(entry, key));
counts[key] = CountTicketOverviewEntries(source, key);
}
return new TicketOverviewCountsResult { Counts = counts };