Bugzilla – Attachment 147231 Details for
Bug 33052
Add a message for from_local_hold_group override
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33052: Add a message for from_local_hold_group override
Bug-33052-Add-a-message-for-fromlocalholdgroup-ove.patch (text/plain), 1.47 KB, created by
Kyle M Hall (khall)
on 2023-02-23 13:21:37 UTC
(
hide
)
Description:
Bug 33052: Add a message for from_local_hold_group override
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-02-23 13:21:37 UTC
Size:
1.47 KB
patch
obsolete
>From 90b7f9bf5748c470e3f2324d4db790958a8f0b8b Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33052
:
147231
|
153385
|
153386