Bug 39508: With OPACAuthorIdentifiersAndInformation, make ISNI and Wikidata identifiers be displayed correctly

At the current, when OPACAuthorIdentifiersAndInformation is on, ISNI
and Wikidata entries in authority 024 field generate empty bullets.

Test plan:
==========
1. Turn OPACAuthorIdentifiersAndInformation on for Identifiers.
2. Edit an authority record adding 024 field(s) for wikidata / ISNI,
   e.g.:
   024 7_ $a 0000000120967858 $1 https://isni.org/isni/0000000120967858 $2 isni
   024 7_ $a Q859 $1 http://www.wikidata.org/entity/Q859 $2 wikidata
3. Go to a linked bibliograohic record in OPAC and see the 'Author
   information' tab. There should be empty bullets under author's
   name.
4. Apply the patch ; restart_all
5. Repeat p. 3. The bullets should be followed by a description and
   link.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Janusz Kaczmarek 2025-04-01 12:24:46 +00:00 committed by Katrin Fischer
parent 891613f515
commit 658d2fe0d8
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,12 @@
[% CASE 'viaf' %]
<span>VIAF ID: </span>
<a href="https://viaf.org/viaf/[% info.number | url %]">[% info.number | html %]</a>
[% CASE 'isni' %]
<span>ISNI ID: </span>
<a href="https://isni.org/isni/[% info.number | url %]">[% info.number | html %]</a>
[% CASE 'wikidata' %]
<span>WIKIDATA ID: </span>
<a href="http://www.wikidata.org/entity/[% info.number | url %]">[% info.number | html %]</a>
[% END %]
</li>
[% CASE 'activity' %]