Bugzilla – Attachment 11418 Details for
Bug 4045
No check for maximum number of allowed holds from OPAC.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 4045 - No check for maximum number of allowed holds.
Bug-4045---No-check-for-maximum-number-of-allowed-.patch (text/plain), 1.32 KB, created by
Liz Rea
on 2012-08-07 13:43:37 UTC
(
hide
)
Description:
Bug 4045 - No check for maximum number of allowed holds.
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2012-08-07 13:43:37 UTC
Size:
1.32 KB
patch
obsolete
>From 69d6ff80677166abff0838ec3d2afb1cbf56b004 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 23 Feb 2012 08:39:05 -0500 >Subject: [PATCH] Bug 4045 - No check for maximum number of allowed holds. >Content-Type: text/plain; charset="utf-8" > >Re-add the system preference maxreserves. > >All the code using maxreserves is still in place. Though it >is not used in the Reserves module, it is used in all the >scripts where holds are placed. > >Also adds a check so that a borrower cannot exceed the maximum >number of allowed holds by using the multi-hold feature via >the opac. >--- > installer/data/mysql/updatedatabase.pl | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 2920d59..09325d5 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -5637,7 +5637,6 @@ $DBversion = "3.09.00.XXX"; > if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { > $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('maxreserves',50,'System-wide maximum number of holds a patron can place','','Integer')"); > print "Upgrade to $DBversion done (Re-add system preference maxreserves)\n"; >- > SetVersion($DBversion); > } > >-- >1.7.2.5
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 4045
:
7634
|
7827
|
7831
|
8535
|
8536
|
10411
|
10412
|
10430
|
11418
|
21200
|
21712
|
21713
|
22960
|
22961
|
22962
|
28490
|
28491
|
28492
|
30051
|
30448