Koha/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing
Marcel de Rooy f253c72bc3 Bug 20272: Changes for Breeding.pm and Record.pm
In Breeding.pm we let Z3950Search return the xslt handler error codes back
to the template. They are converted to text messages by using an new include
file (added for opac and intranet now). The generic xslt_err code is now
obsoleted.

In Record.pm the errstr call is removed. The croak is done with the new
error code in err. This seems sufficient.

Test plan:
[1] Run Breeding.t
[2] Run Record.t
[3] Add a nonexisting xslt file to one of your Z3950 targets. Search on that
    target and check if you see a error 'XSLT file not found'.

The bonus is these error messages are now translatable as they are in
the templates

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-07-02 12:12:49 +00:00
..
value_builder Bug 19970: Revise change of bug 19413 to work better for translations 2018-06-15 10:35:41 +00:00
addbiblio.tt Bug 11674: Configuration for MARC field doc URLs 2018-04-16 14:07:27 -03:00
addbooks.tt Bug 19987: If no z39.50/SRU servers the button should not show 2018-01-19 15:13:32 -03:00
additem.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
editor.tt Bug 20761: Fix some js includes in rancor 2018-05-29 14:16:56 +00:00
linkitem.tt Bug 18277: Remove GetBiblionumberFromItemnumber - linkitem 2017-07-10 13:03:37 -03:00
merge.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
moveitem.tt Bug 18276: Remove GetBiblioFromItemNumber - Easy ones 2017-07-10 12:22:29 -03:00
z3950_auth_search.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
z3950_search.tt Bug 20272: Changes for Breeding.pm and Record.pm 2018-07-02 12:12:49 +00:00