Bugzilla – Attachment 67207 Details for
Bug 15486
Restrict number of holds placed by day
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15486: Modify request.tt to handle the new error string
Bug-15486-Modify-requesttt-to-handle-the-new-error.patch (text/plain), 1.65 KB, created by
Tomás Cohen Arazi (tcohen)
on 2017-09-19 12:31:37 UTC
(
hide
)
Description:
Bug 15486: Modify request.tt to handle the new error string
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2017-09-19 12:31:37 UTC
Size:
1.65 KB
patch
obsolete
>From 542c1bde680766d07d72d98013fe56bf559a498e Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 19 Jul 2017 19:32:09 -0300 >Subject: [PATCH] Bug 15486: Modify request.tt to handle the new error string > >This patch makes reserve/request.pl display a convenient error >description when a hold cannot be placed due to the new daily limit >configuration. > >To test: >- Apply this patchset >- Upgrade >- Configure your circulation rules so there's a daily limit for holds >- Place holds so the patron reaches the maximum >- Place one more hold >- Notice the hold cannot be placed and a convenient error message is >displayed. >- Sign off :-D >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 ++ > 1 file changed, 2 insertions(+) > >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 02c50b9c2d..57cc9fb558 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -507,6 +507,8 @@ function checkMultiHold() { > Age restricted > [% ELSIF itemloo.not_holdable == 'tooManyHoldsForThisRecord' %] > Exceeded max holds per record >+ [% ELSIF itemloo.not_holdable == 'tooManyReservesToday' %] >+ Daily limit reached for patron > [% ELSIF itemloo.not_holdable == 'tooManyReserves' %] > Too many holds > [% ELSIF itemloo.not_holdable == 'notReservable' %] >-- >2.14.1
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 15486
:
65128
|
65129
|
65130
|
65131
|
65132
|
65133
|
67202
|
67203
|
67204
|
67205
|
67206
|
67207
|
67337
|
67840
|
67841
|
67842
|
67843
|
67844
|
67845
|
68728
|
68729
|
68730
|
68731
|
68732
|
68733
|
68734
|
68735
|
68750
|
68751
|
68752
|
68791
|
71314
|
71315
|
71316
|
71317
|
71318
|
71319
|
72709
|
79318
|
79319
|
79320
|
79321
|
79322
|
79323
|
79324
|
79696
|
79697
|
79698
|
79699
|
79700
|
79701
|
79702
|
80478
|
80479
|
80480
|
80481
|
80482
|
80483
|
80484
|
81087