]> git.koha-community.org Git - koha.git/commit
Bug 33406: Handle ES search errors for authorities
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 11 May 2023 10:38:53 +0000 (12:38 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 15 Sep 2023 18:50:42 +0000 (15:50 -0300)
commit09b29d06da5fac2bd1315d849f1b9bf924576700
tree85a8888cd0bfa4e7e65dfca14111557f041fb9a0
parentfbd62562e0d67d22738435e44adf9f03900a147e
Bug 33406: Handle ES search errors for authorities

We are dealing ok with ES exceptions for biblio records search,
catching them and raising them to the end user. But we don't for
authorities, where we explode with an ugly 500.

Test plan:
Search for "(term_1*) AND (-) AND (term_2*)" in the authority search and
notice that you don't get a 500 but an error instead saying that you
should try again

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
authorities/authorities-home.pl
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt