From d4b6e43e1c6e4e0286f90d7eb9b6b242a8e23028 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Fri, 27 Sep 2024 13:13:00 -0400 Subject: [PATCH] Add enrollment attribute view should redirect to "self" (CFM-31) (#219) --- .../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 d37681bc0..64538be5d 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([