Currently, the Standard backend is mapping 'id' or 'rft_id' in the openurl to 'doi'. But 'rft_id' may contain 'DOI:12345' where '12345' is the doi value.
Currently, the Standard backend is mapping 'id' or 'rft_id' in the openurl to 'doi'. But 'id' or 'rft_id' may contain 'DOI:12345' where '12345' is the doi value.
Created attachment 176807 [details] [review] Bug 38928: Handle rft_id or id If a semicolon exists, the key should be what's before the semicolon, and its value, whats the after. Otherwise, default to 'doi' as it was before. To test: 1) Enable ILLModule. 2) Visit the following URLs http://localhost:8080/cgi-bin/koha/opac-illrequests.pl?op=create&backend=Standard&openurl=1&genre=article&id=10.1016/j.cognition.2024.105913 http://localhost:8080/cgi-bin/koha/opac-illrequests.pl?op=create&backend=Standard&openurl=1&genre=article&id=doi:10.1016/j.cognition.2024.105913 3) Notice that in both cases, only the doi value '10.1016/j.cognition.2024.105913' should be present in the input.