From 419d01c2a73370ef7d35e7c099615be0fe400461 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 9 Feb 2021 12:26:50 -0300 Subject: [PATCH] Bug 27071: (follow-up) Provide a more meaningful error message Signed-off-by: Tomas Cohen Arazi Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart (cherry picked from commit 3e8e15cc64a8b09fc9575af4b9fcbae437293715) Signed-off-by: Fridolin Somers (cherry picked from commit 17bcc1aeea0ad2a60f24a68fa4ba31bf64c15c59) Signed-off-by: Andrew Fuerste-Henry --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index 41ee0d6f9f..986dd90364 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -577,6 +577,8 @@ Patron already has hold for this item [% ELSIF itemloo.not_holdable == 'cannotBeTransferred' %] Cannot be transferred to pickup library + [% ELSIF itemloo.not_holdable == 'pickupNotInHoldGroup' %] + Only pickup locations within the same hold group are allowed [% ELSE %] [% itemloo.not_holdable | html %] [% END %] @@ -961,7 +963,8 @@ notReservable: _("Not holdable"), cannotReserveFromOtherBranches: _("Patron is from different library"), itemAlreadyOnHold: _("Patron already has hold for this item"), - cannotBeTransferred: _("Cannot be transferred to pickup library") + cannotBeTransferred: _("Cannot be transferred to pickup library"), + pickupNotInHoldGroup: _("Only pickup locations within the same hold group are allowed") } columns_settings_borrowers_table = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %] -- 2.39.5