diff --git a/app/AdminModule/Components/GroupsGridControl.php b/app/AdminModule/Components/GroupsGridControl.php index 21ea1fae4..9759f2e4e 100644 --- a/app/AdminModule/Components/GroupsGridControl.php +++ b/app/AdminModule/Components/GroupsGridControl.php @@ -139,7 +139,7 @@ public function createComponentPatrolsGrid(string $name): DataGrid $grid->addColumnText('numAdults', '# dospělých') // ->setSortableCallback(static fn($qb,$vals) =>sort($vals)) - ->setRenderer(static fn (Troop $p) => $p->countUsersInRoles([Role::LEADER])); + ->setRenderer(static fn (Troop $p) => $p->countUsersInRoles([Role::LEADER, Role::ESCORT])); $grid->addColumnText('numPatrols', '# družin') // ->setSortableCallback(static fn($qb,$vals) =>sort($vals))