---
title: "Feature: Grouped lists and what depends on a record"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:feature-1791887554@main"
source: "Changelog/1.0.0/Feature-1791887554-GroupedListsAndWhatDependsOnARecord.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Feature: Grouped lists and what depends on a record {#feature-1791887554}

## Description {#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 {#impact}

The collection operations `listEmployees`, `listLeaveRequests` and `listScheduleChangeRequests` take
`groupBy` and answer `meta.groups`; any other grouping key answers 400. `listLeaveRequests` sorts by
`startDate` or `createdAt` only; another sort, until now ignored, answers 400. The new operation
`getRecordDependents` answers for the record types the list registry names, and the 409 problem of
`archiveDepartment` and the other structure entries carries `dependents`.
