[Koha-bugs] [Bug 11674] Configuration for MARC field doc URLs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 8 12:15:41 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11674

--- Comment #2 from paxed <pasi.kallinen at pttk.fi> ---
Add a new system preference MarcFieldDocURL. Setting it to some URL
will make all the MARC documentation links point to that in
the MARC edit UI. Leaving the value empty will use the old defaults
(http://loc.gov for MARC21 and http://archive.ifla.org for UNIMARC).

There are some possible substitutions usable in the URL:
 - {MARC} is replaced with either "MARC21" or "UNIMARC"
 - {FIELD} is replaced by the MARC field number, eg. "000", "048", ...
 - {LANG} is replaced by the UI language, eg. "en", or "fi-FI"

To test:

1) Install Koha
2) Go to Cataloguing > New record
3) Clicking on the question mark links in the MARC edit will
   open a window to either loc.gov or archive.ifla.org
4) Install patch
5) Redo parts 1, 2, and 3.
6) Set the value of MarcFieldDocURL to
   http://example.com/?field={FIELD}&marc={MARC}&lang={LANG}
7) Redo parts 1 and 2
8) Clicking on the question mark links in the MARC edit will
   open a window to example.com, with the proper substitutions
   in the URL for the field, marc flavour and language.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list