Skip to content

Commit

Permalink
Views group should contain the data of the associated models (#138)
Browse files Browse the repository at this point in the history
Co-authored-by: Ioannis Igoumenos <ioigoume@admin.grnet.gr>
  • Loading branch information
Ioannis and Ioannis Igoumenos authored Jan 9, 2024
1 parent 90ad78b commit 6a01827
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/src/Model/Table/GroupsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' => [
Expand Down

0 comments on commit 6a01827

Please sign in to comment.