Bugzilla – Attachment 185163 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.01 KB, created by
Owen Leonard
on 2025-08-06 15:43:30 UTC
(
hide
)
Description:
Bug 40603: Add support for "uri" to OPACAuthorIdentifiersAndInformation
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-08-06 15:43:30 UTC
Size:
2.01 KB
patch
obsolete
>From 2f6647c0eb0161773d2fc3fb28f88b83122edc77 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 >--- > .../opac-tmpl/bootstrap/en/includes/authority-information.inc | 3 +++ > 1 file changed, 3 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 4354e3b71a8..138a319e955 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-information.inc >@@ -24,6 +24,9 @@ > [% CASE 'wikidata' %] > <span>WIKIDATA ID: </span> > <a href="http://www.wikidata.org/entity/[% info.number | url %]">[% info.number | html %]</a> >+ [% CASE 'uri' %] >+ <span>URI: </span> >+ <a href="http://www.wikidata.org/entity/[% info.number | url %]">[% info.number | html %]</a> > [% END %] > </li> > [% CASE '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