Bugzilla – Attachment 186265 Details for
Bug 40603
Add support for "uri" to OPACAuthorIdentifiersAndInformation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40603: Add support for "uri" to OPACAuthorIdentifiersAndInformation
Bug-40603-Add-support-for-uri-to-OPACAuthorIdentif.patch (text/plain), 2.10 KB, created by
Owen Leonard
on 2025-09-08 17:31:12 UTC
(
hide
)
Description:
Bug 40603: Add support for "uri" to OPACAuthorIdentifiersAndInformation
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-09-08 17:31:12 UTC
Size:
2.10 KB
patch
obsolete
>From 27333b368ea7c05fc22de61bc77a0be7680a4ff1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 6 Aug 2025 15:30:11 +0000 >Subject: [PATCH] Bug 40603: Add support for "uri" to > OPACAuthorIdentifiersAndInformation > >This patch adds support for display of the "uri" identifier in the OPAC >when looking at personal name authority records and associated >bibliographic records. > >To test you must have: >1. A personal name authority record >2. A bibliographic record which has 100$a linked to that authority > record. > >- Search for OPACAuthorIdentifiersAndInformation and make sure that > "Identifiers (024$2$a)" is checked. >- Go to Authorities and locate your author's record. >- Add a 024 tag with "uri" as the source in $2, and a URI in $a. >- In the OPAC, locate the bibliographic record you modified. >- On the detail page, check the "Author information" tab >- Go to the authority detail page in OPAC for the author authority > record you modified. Check the "Author information" section > in the right-hand column. > - In both cases you should see the URI you added, labeled with "URI:" > >Sponsored-by: Athens County Public Libraries >--- > .../bootstrap/en/includes/authority-information.inc | 5 +++++ > 1 file changed, 5 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 dcff3e1674..536df77d9b 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc >@@ -37,6 +37,11 @@ > <span>WIKIDATA ID: </span> > <a href="http://www.wikidata.org/entity/[% info.number | url %]">[% info.number | html %]</a> > </li> >+ [% CASE 'uri' %] >+ <li class="identifier_[% info.source.lower | html %]"> >+ <span>URI: </span> >+ <a href="http://www.wikidata.org/entity/[% info.number | url %]">[% info.number | html %]</a> >+ </li> > [% END %] > [% CASE 'activity' %] > [% IF info.field_of_activity %] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40603
:
185163
|
186264
| 186265