From 8be10e4fa126b9302891361a0b15890340e2939e Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Thu, 19 Dec 2024 16:30:50 -0500 Subject: [PATCH] Add description field to Enrollment Flows (CFM-435) --- app/config/schema/schema.json | 1 + app/templates/EnrollmentFlows/columns.inc | 3 +++ app/templates/EnrollmentFlows/fields.inc | 1 + 3 files changed, 5 insertions(+) diff --git a/app/config/schema/schema.json b/app/config/schema/schema.json index f01e0e9dc..8e1f52ca1 100644 --- a/app/config/schema/schema.json +++ b/app/config/schema/schema.json @@ -621,6 +621,7 @@ "id": {}, "co_id": {}, "name": {}, + "description": { "size": 256 }, "status": {}, "sor_label": {}, "authz_type": { "type": "string", "size": 2 }, diff --git a/app/templates/EnrollmentFlows/columns.inc b/app/templates/EnrollmentFlows/columns.inc index 7f1604916..0f0611094 100644 --- a/app/templates/EnrollmentFlows/columns.inc +++ b/app/templates/EnrollmentFlows/columns.inc @@ -39,6 +39,9 @@ $indexColumns = [ 'type' => 'enum', 'class' => 'EnrollmentAuthzEnum', 'sortable' => true + ], + 'description' => [ + 'sortable' => true ] ]; diff --git a/app/templates/EnrollmentFlows/fields.inc b/app/templates/EnrollmentFlows/fields.inc index df72eb6b5..faef3b8d6 100644 --- a/app/templates/EnrollmentFlows/fields.inc +++ b/app/templates/EnrollmentFlows/fields.inc @@ -57,6 +57,7 @@ declare(strict_types = 1); if($vv_action == 'add' || $vv_action == 'edit') { foreach ( ['name', + 'description', 'status', // 'sor_label', ] as $field) {