Skip to content

Commit

Permalink
Add UrlsTable missing changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Dec 18, 2024
1 parent 7bfdeec commit 8a18879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/Model/Table/UrlsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public function initialize(array $config): void {
// Define associations
$this->belongsTo('People');
$this->belongsTo('ExternalIdentities');
$this->belongsTo('ExternalIdentityRoles');
$this->belongsTo('Types');
$this->belongsTo('SourceUrls')
->setClassName('Urls')
Expand All @@ -82,7 +83,7 @@ public function initialize(array $config): void {

$this->setDisplayField('url');

$this->setPrimaryLink(['external_identity_id', 'person_id']);
$this->setPrimaryLink(['external_identity_id', 'external_identity_role_id', 'person_id', 'person_role_id']);
$this->setRequiresCO(true);
$this->setRedirectGoal('self');
$this->setRedirectGoal(action: 'delete', goal: 'deleted');
Expand Down

0 comments on commit 8a18879

Please sign in to comment.