From 55b7752c9423b47fba80dc74ecee729261351499 Mon Sep 17 00:00:00 2001 From: Benn Oshrin Date: Mon, 5 Sep 2022 17:49:22 -0400 Subject: [PATCH] Fix installation of English Nicknames (CO-2476) --- app/templates/AttributeMappings/columns.inc | 6 ++++-- app/templates/Standard/index.php | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/templates/AttributeMappings/columns.inc b/app/templates/AttributeMappings/columns.inc index 87bd4a30f..0b65c5327 100644 --- a/app/templates/AttributeMappings/columns.inc +++ b/app/templates/AttributeMappings/columns.inc @@ -19,7 +19,7 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * @link http://www.internet2.edu/comanage COmanage Project + * @link https://www.internet2.edu/comanage COmanage Project * @package match * @since COmanage Match v1.0.0 * @license Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) @@ -43,8 +43,10 @@ $topLinks = [ 'label' => ' ' . __('match.op.AttributeMappings.install.nicknames.en'), 'link' => [ - 'action' => 'install', + 'action' => 'install', + '?' => [ 'mapping' => 'nicknames.en' + ] ], 'class' => 'buildbutton' ] diff --git a/app/templates/Standard/index.php b/app/templates/Standard/index.php index 78b93eedf..404f7c0a6 100644 --- a/app/templates/Standard/index.php +++ b/app/templates/Standard/index.php @@ -104,7 +104,7 @@ function _column_key($modelsName, $c, $tz=null) { print '
  • ' . $this->Html->link( $t['label'], - array_merge($linkFilter, $t['link']), + array_merge_recursive($linkFilter, $t['link']), ['escape' => false, 'class' => $t['class']] ) . '
  • ';