https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38425

--- Comment #1 from Alexander Wagner <[email protected]> ---
Created attachment 174425
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174425&action=edit
Bug 38425: Add external links based on PIDs in 024

Render some (common) identifiers field 024 as links to external
resources by evaluating `$2` and using the appropriate resolver URL.
Currently implemented values for `$2`: arXiv, doi, inspire, openlibrary,
pmc, pmid. The patch includes adds the class `resource_list` to the
intranet scss to be able to use the identical XSLT code as for the OPAC.

Test plan:

1. Open intranet interface and edit any record
2. Add several 024 fields with the following subfield layout:
   - $2 doi $a 10.2147/CIA.S157877
   - $2 pmid $a 29942120
   - $2 pmc $a PMC6005330
   - $2 arxiv: $a arxiv:2411.05889
   - $2 inspire $a 2835154
   - $2 openlibrary $a OL27448W
   (May be all or any combination. The values of $a would not matter,
   the above just gives valid links to the external system in question.)
3. Check intranet detail display of the record: nothing appears
4. Check OPAC detail display of the record: nothing appears
5. Apply the patch
3. Check intranet detail display of the record. It now gives a new line:
   External Resource(s): <here links to whatever was added in step 2)
   The ids are clickable and lead to the external system
4. Check OPAC detail display of the record:
   External Resource(s): <here links to whatever was added in step 2)
   The ids are clickable and lead to the external system

Sponsored-by: Deutsches Elektronen-Synchrotron DESY, Library

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to