From 6a01827e87ab0143a029a6c0e108e1f53f322969 Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Tue, 9 Jan 2024 21:24:32 +0200 Subject: [PATCH] Views group should contain the data of the associated models (#138) Co-authored-by: Ioannis Igoumenos --- app/src/Model/Table/GroupsTable.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/Model/Table/GroupsTable.php b/app/src/Model/Table/GroupsTable.php index bb8193630..4dc712503 100644 --- a/app/src/Model/Table/GroupsTable.php +++ b/app/src/Model/Table/GroupsTable.php @@ -123,6 +123,14 @@ public function initialize(array $config): void { // For a regular group, the Owners Group 'OwnersGroup' ]); + + $this->setViewContains([ + 'Identifiers', + // For an Owners Group, the group it manages owners for + 'OwnersForGroup', + // For a regular group, the Owners Group + 'OwnersGroup' + ]); $this->setAutoViewVars([ 'statuses' => [