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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 10 Oct 2018 10:11:59 +0000 (12:11 +0200)
commitcf12d9ba72be3c4f41d3eb7d640e968fca129ffa
treefa8dccdcc4f333bfc8f2d019dd28d312b940b1b4
parent8f13b25a177fdd46453fecb38511809792469364
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>
(cherry picked from commit 0f2d80328d74c661ecd318f603a18743e3c699bb)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc