Skip to content

Commit

Permalink
Fix subnavigation for External Identity Roles in sub-entity edit view…
Browse files Browse the repository at this point in the history
…s (CFM-192)
  • Loading branch information
arlen committed Oct 24, 2022
1 parent c3710f6 commit b0f807f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/element/subnavigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@
<h3>
<?php
// Set the link filter for External Identity Roles
$curId = $this->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];
Expand Down

0 comments on commit b0f807f

Please sign in to comment.