Bugzilla – Attachment 80481 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.82 KB, created by
Josef Moravec
on 2018-10-12 13:44:18 UTC
(
hide
)
Description:
Bug 15486: Modify request.tt to handle the new error string
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-10-12 13:44:18 UTC
Size:
1.82 KB
patch
obsolete
>From 75f42adae1f76911ad513b6f1c7e4749da90042b 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 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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 > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > 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 68ed8a6..30ce360 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -326,6 +326,8 @@ > Age restricted > [% ELSIF itemloo.not_holdable == 'tooManyHoldsForThisRecord' %] > Exceeded max holds per record >+ [% ELSIF itemloo.not_holdable == 'tooManyReservesToday' %] >+ Daily hold limit reached for patron > [% ELSIF itemloo.not_holdable == 'tooManyReserves' %] > Too many holds > [% ELSIF itemloo.not_holdable == 'notReservable' %] >-- >2.1.4
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