From fd8e9668d15c2eb4cafe73619a7933478c89e8c0 Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Tue, 1 Apr 2025 12:24:46 +0000 Subject: [PATCH] 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 --- .../bootstrap/en/includes/authority-information.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc index 7e939f6e8e..4354e3b71a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc @@ -18,6 +18,12 @@ [% CASE 'viaf' %] VIAF ID: [% info.number | html %] + [% CASE 'isni' %] + ISNI ID: + [% info.number | html %] + [% CASE 'wikidata' %] + WIKIDATA ID: + [% info.number | html %] [% END %] [% CASE 'activity' %] -- 2.39.5