diff --git a/app/templates/Petitions/columns.inc b/app/templates/Petitions/columns.inc index 747ab724..8c8634a9 100644 --- a/app/templates/Petitions/columns.inc +++ b/app/templates/Petitions/columns.inc @@ -28,7 +28,13 @@ $indexColumns = [ // We start with id to ensure there is a clickable field in the row 'id' => [ - 'type' => 'link' + 'type' => 'link', + 'labelPrefix' => __d('controller','Petitions',[1]) + ], + 'status' => [ + 'type' => 'enum', + 'class' => 'PetitionStatusEnum', + 'sortable' => true ], 'enrollee_person_id' => [ 'type' => 'relatedLink', @@ -39,11 +45,6 @@ $indexColumns = [ 'field' => 'full_name', 'default' => __d('field', 'Petitions.enrollee.new') ], - 'status' => [ - 'type' => 'enum', - 'class' => 'PetitionStatusEnum', - 'sortable' => true - ], 'enrollment_flow_id' => [ 'type' => 'relatedLink', 'model' => 'enrollment_flow', diff --git a/app/templates/Standard/index.php b/app/templates/Standard/index.php index 6abbbca9..1d07fe39 100644 --- a/app/templates/Standard/index.php +++ b/app/templates/Standard/index.php @@ -386,8 +386,13 @@ ?> > $col . $suffix; + $label = $prefix . $entity->$col . $suffix; // If there is no calculated default value but a default is configured, // use that instead