Bug 38376: Add id to openURL as DOI
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&id=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 'id' is considered a custom field, and is not converted into the DOI native field. 5) Apply patch. Restart plack. Repeat 4. Notice the native field is populated and a custom field entry no longer exists. 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>
This commit is contained in:
parent
eb5feffdaa
commit
404940cbbf
|
|
@ -1047,6 +1047,7 @@ sub _openurl_to_ill {
|
|||
isbn => 'isbn',
|
||||
issn => 'issn',
|
||||
rft_id => 'doi',
|
||||
id => 'doi',
|
||||
doi => 'doi',
|
||||
year => 'year',
|
||||
title => 'title',
|
||||
|
|
|
|||
Loading…
Reference in New Issue