Bug 20785: Advanced Editor does not honor MarcFieldDocURL
authorPasi Kallinen <pasi.kallinen@joensuu.fi>
Fri, 24 Aug 2018 08:05:04 +0000 (11:05 +0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 3 Oct 2018 09:40:48 +0000 (10:40 +0100)
commit0f2d80328d74c661ecd318f603a18743e3c699bb
treeea98b809929839e670a9fbca1a4d385f7d764bba
parent20b0ca1f63c6ad97a05476236036996058b784c2
Bug 20785: Advanced Editor does not honor MarcFieldDocURL

The advanced MARC editor, Rancor, doesn't obey MarcFieldDocURL.
Make it do so.

Test plan:

1) Enable EnableAdvancedCatalogingEditor
2) Set MarcFieldDocURL to eg. http://{MARC}.example.com/{LANG}/{FIELD}
3) Go to Cataloging -> Advanced editor
4) Go to any field and press Ctrl-H
5) Marc field documentation on www.loc.gov or ifla.org should open
6) Apply patch
7) Repeat 3 and 4. The Marc field docs should open on the URL you set

Signed-off-by: Pasi Kallinen <pasi.kallinen@joensuu.fi>
Signed-off-by: Michal Denar <black23@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit ca839922fd4bf3c455454f6dd9182203b1481831)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc