From b0f807f4393185d78f7195846cef752bfefe57c1 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Mon, 24 Oct 2022 17:15:24 -0400 Subject: [PATCH] Fix subnavigation for External Identity Roles in sub-entity edit views (CFM-192) --- app/templates/element/subnavigation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/element/subnavigation.php b/app/templates/element/subnavigation.php index 95378327c..049c5d07a 100644 --- a/app/templates/element/subnavigation.php +++ b/app/templates/element/subnavigation.php @@ -432,8 +432,8 @@

request->getQuery($vv_primary_link); - if(!empty($vv_obj)) { + $curId = $vv_primary_link_obj->id; + if(!empty($vv_obj) && ($curController == 'ExternalIdentityRoles' && ($curAction == 'edit' || $curAction == 'view'))) { $curId = $vv_obj->id; } $linkFilter = ['external_identity_role_id' => $curId];