]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Thu, 12 Oct 2023 15:45:36 +0000 (15:45 +0000)
commit8ad444a891de95dba5d0171c35f540157f0f3fa9
treeb7b42a28bd6fa17c8967cfe8968f021c149e682d
parentc31e7b4fe2d8ca8bff4b5a020f4f2687ea05f6eb
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>
(cherry picked from commit 09b29d06da5fac2bd1315d849f1b9bf924576700)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit b4187cf2abb7007d528585f59b723c10dc3b4480)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
authorities/authorities-home.pl
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt