Feature: Grouped lists and what depends on a record
Description
The employee lists, the leave requests and the schedule change requests are counted per group: by status, and by department, job position and location or by leave type, each named in the reader's language and counted with the search and every filter applied. A group is one value of a filter, so its rows are paged with that filter. The leave requests are sorted by their start or creation date as asked.
Before a department is archived, the confirmation can name what depends on it: its employees today and its sub-departments, counted within the reader's scope. Archiving refuses with the same counts while they are assigned.
Impact
The collection operations list, list and list take
group and answer meta.; any other grouping key answers 400. list sorts by
start or created only; another sort, until now ignored, answers 400. The new operation
get answers for the record types the list registry names, and the 409 problem of
archive and the other structure entries carries dependents.