Bugzilla – Attachment 173558 Details for
Bug 38276
ILL Standard form does not consider DOI in openURL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38276: Add DOI to openURL
Bug-38276-Add-DOI-to-openURL.patch (text/plain), 1.63 KB, created by
Martin Renvoize (ashimema)
on 2024-10-28 15:27:29 UTC
(
hide
)
Description:
Bug 38276: Add DOI to openURL
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-10-28 15:27:29 UTC
Size:
1.63 KB
patch
obsolete
>From 4b35e0cb2591ff97abbd781289c013edef85a4d1 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 25 Oct 2024 15:54:49 +0000 >Subject: [PATCH] Bug 38276: Add DOI to openURL > >Test plan: >1) Enable ILLModule >2) Login on OPAC (if you haven't already) >3) Access the following openURL link: >localhost:8080/cgi-bin/koha/opac-illrequests.pl?atitle=Music%20in%20an%20Emergent%20History%20of%20Psychology.&aulast=Klempe%20SH&backend=Standard&cardnumber=kohaadmin&custom_field=example1&date=2024&doi=10.1007%2Fs12124-023-09778-9&genre=article&issn=19363567&issue=1&custom_field2=example2&method=create&opac=1&openurl=1&pages=1-11&spage=1&title=Integrative%20psychological%20%26%20behavioral%20science&volume=58 >4) Notice the DOI is considered a custom field, and the actual DOI native field is not populated. >5) Apply patch. Repeat 4. Notice the native field is populated and is no longer a custom field entry. > >Original patch: >https://github.com/PTFS-Europe/koha-ill-freeform/commit/6f00282af427aae632c274e647ef0d61a78fd819 > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/ILL/Backend/Standard.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/ILL/Backend/Standard.pm b/Koha/ILL/Backend/Standard.pm >index 98e9cf463ab..bb03a9bd33c 100644 >--- a/Koha/ILL/Backend/Standard.pm >+++ b/Koha/ILL/Backend/Standard.pm >@@ -1047,6 +1047,7 @@ sub _openurl_to_ill { > isbn => 'isbn', > issn => 'issn', > rft_id => 'doi', >+ doi => 'doi', > year => 'year', > title => 'title', > author => 'author', >-- >2.47.0
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 38276
:
173399
|
173418
| 173558