Skip to content

Commit

Permalink
Patch tegen
Browse files Browse the repository at this point in the history
  • Loading branch information
lwo committed Feb 16, 2023
1 parent b63436d commit a78e807
Showing 1 changed file with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,21 @@ export class AuthorityLinkingDialogComponent
});

this.pcrud.search('acsbf',
{tag: this.bibField.tag},
{
tag: this.bibField.tag,
// we're only interested in the authority fields
// that are linked to a heading field; i.e., we're not
// interested in subdivision authorities at this time
authority_field: {
in: {
select: { acsaf: ['id'] },
from: 'acsaf',
where: {
heading_field: { '!=' : null }
}
}
}
},
{flesh: 1, flesh_fields: {acsbf: ['authority_field']}},
{atomic: true, anonymous: true}

Expand Down

0 comments on commit a78e807

Please sign in to comment.