From 90b7f9bf5748c470e3f2324d4db790958a8f0b8b Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Thu, 23 Feb 2023 08:20:09 -0500 Subject: [PATCH] Bug 33052: Add a message for from_local_hold_group override In reference to https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24860#c226 from_local_hold_group needs a message. Test Plan: 1) Overide a local group restricted hold, note there is no message 2) Apply this patch 3) Repeat step 1, note there is now a message! --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 1 + 1 file changed, 1 insertion(+) 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 e2d33c5415..333fa8965e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -1581,6 +1581,7 @@ switch (override_items[itemnumber].holdallowed) { case "not_allowed": msg = _("This item normally cannot be put on hold."); break; case "from_home_library": msg = _("This item normally cannot be put on hold except for patrons from %s.").format(override_items[itemnumber].homebranch); break; + case "from_local_hold_group": msg = _("This item normally cannot be put on hold out its' local hold group."); break; } msg += "\n\n" + _("Place hold on this item?"); -- 2.30.2