Skip to content

Commit

Permalink
fetch missing person data
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis authored and arlen committed Feb 22, 2024
1 parent 6f370af commit ddee3e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/src/Model/Table/ExtIdentitySourceRecordsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ public function initialize(array $config): void {
]);

$this->setViewContains([
'ExternalIdentitySources'
'ExternalIdentitySources',
'ExternalIdentities' => ['People' => ['PrimaryName']],
]);
/*
// XXX This doesn't seem to correlate to what actually renders?
Expand Down
7 changes: 4 additions & 3 deletions app/templates/ExtIdentitySourceRecords/fields-nav.inc
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,15 @@ if(!empty($vv_obj->external_identity_id)) {
]
]
];


// primary name: $vv_obj->external_identity->person->primary_name->full_name
$subnav = [
'name' => 'person',
'active' => 'external_identities',
'subActive' => 'external_identity_roles',
'tabsId' => $vv_obj->person_id,
'tabsId' => $vv_obj->external_identity->person->id,
'tabsController' => 'people',
'subTabsId' => $vv_obj->external_identity_id,
'subTabsId' => $vv_obj->external_identity->id,
'subTabsController' => 'external_identities',
'tabsSupertitle' => $vv_obj->external_identity->description
];
Expand Down

0 comments on commit ddee3e8

Please sign in to comment.