From 7e2bc459f2bb846d722cc4fd481551f8fdb91ceb Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Fri, 27 Sep 2024 13:12:02 -0400 Subject: [PATCH] Add enrollment attribute view should redirect to "self" (CFM-31) --- .../CoreEnroller/src/Model/Table/EnrollmentAttributesTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/plugins/CoreEnroller/src/Model/Table/EnrollmentAttributesTable.php b/app/plugins/CoreEnroller/src/Model/Table/EnrollmentAttributesTable.php index d37681bc..64538be5 100644 --- a/app/plugins/CoreEnroller/src/Model/Table/EnrollmentAttributesTable.php +++ b/app/plugins/CoreEnroller/src/Model/Table/EnrollmentAttributesTable.php @@ -77,7 +77,7 @@ public function initialize(array $config): void { $this->setPrimaryLink('CoreEnroller.attribute_collector_id'); $this->setRequiresCO(true); - $this->setRedirectGoal(action: 'add', goal: 'index'); + $this->setRedirectGoal(action: 'add', goal: 'self'); $this->setRedirectGoal(action: 'edit', goal: 'self'); $this->setAutoViewVars([