]> git.koha-community.org Git - koha.git/commit
Bug 38276: Add DOI to openURL
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Fri, 25 Oct 2024 15:54:49 +0000 (15:54 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 31 Oct 2024 10:32:56 +0000 (11:32 +0100)
commit19f958041036886ee03277a0dd6db6015c2142dc
treee86689bd284099f5b331a2b148182ebab3b53c61
parent64134dce3cea4a87e7ecf72273ef0c25959ab524
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>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/ILL/Backend/Standard.pm