From 62b01a16db578b8cc93a8bfcd9a5bcf65a9d00db Mon Sep 17 00:00:00 2001 From: Benn Oshrin Date: Sun, 17 Oct 2021 16:12:44 -0400 Subject: [PATCH] Fix rendering of links with forcePrimaryLink (CO-2246) --- app/templates/Standard/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/Standard/index.php b/app/templates/Standard/index.php index cbc652aca..0779da6d5 100644 --- a/app/templates/Standard/index.php +++ b/app/templates/Standard/index.php @@ -263,7 +263,7 @@ function _column_key($modelsName, $c, $tz=null) { foreach($linkActions as $a) { // Does this user have permission for this action? if($vv_permissions[$a]) { - print $this->Html->link($label, ['action' => $a, $entity->id]); + print $this->Html->link($label, array_merge_recursive(['action' => $a], $linkArgs)); $linked = true; break 2; }