From 7226224a4b8c20960191a2353ba99383e4a5ce0d Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 13 Jan 2025 07:50:00 +0000 Subject: [PATCH] Bug 37546: Error message output improvements As suggested by David, I've re-arranged the message output so we pass 'message' first, followed by the error reference inside brackets, followed by "for SERVER" and finally "result No." This follows the Z39.50 suggestions more closely whilst still including our level of detail for Server + Result number. Signed-off-by: David Cook --- .../intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt index 8be7fba194..ebd775da04 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt @@ -123,7 +123,7 @@ [% IF ( errcon.error == '10000' ) %]
  • Connection failed to [% errcon.server | html %]
  • [% ELSIF ( errcon.error == '10007' ) %]
  • Connection timeout to [% errcon.server | html %]
  • [% ELSIF errcon.error.match( '^XSLTH' ) %]
  • [% errcon.server | html %] record [% errcon.seq | html %]: [% PROCESS 'xslt-handler.inc' code=errcon.error %]
  • - [% ELSE %]
  • [% errcon.server | html %] record [% errcon.seq | html %]: [% errcon.error | html %] - [% errcon.error_msg | html %]
  • + [% ELSE %]
  • [% errcon.error_msg | html %] (ref. [% errcon.error | html %]) for [% errcon.server | html %] result [% errcon.seq | html %]
  • [% END %] [% END %] -- 2.39.5