Bugzilla – Attachment 31186 Details for
Bug 10883
OPACAllowHoldDateInFuture can let a patron jump to the top of the holds list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10883 - OPACAllowHoldDateInFuture can let a patron jump to the top of the holds list
Bug-10883---OPACAllowHoldDateInFuture-can-let-a-pa.patch (text/plain), 1.60 KB, created by
Kyle M Hall (khall)
on 2014-08-27 13:08:45 UTC
(
hide
)
Description:
Bug 10883 - OPACAllowHoldDateInFuture can let a patron jump to the top of the holds list
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-08-27 13:08:45 UTC
Size:
1.60 KB
patch
obsolete
>From acec3032d2908e21caf1ba35194f8c84b8a50aec Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 27 Aug 2014 09:05:12 -0400 >Subject: [PATCH] Bug 10883 - OPACAllowHoldDateInFuture can let a patron jump to the top of the holds list > >If a patron is allowed to add a future date for the hold using the >"Hold starts on date" field, that patron can put a date in that is >in the *past* which will cause them to move to the top of the holds >queue ( assuming they make the past date far enough back that it is >earlier than all the other hold dates ). > >Test Plan: >1) Enable future holds >2) Note you can use dates in the past for "hold starts on date" >3) Note you can use dates in the past for "hold expires on date" >4) Apply this patch >5) Refresh the page >6) Note you can no longer use dates in the past for those fields >--- > .../prog/en/modules/reserve/request.tt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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 60551f4..6c061e4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -22,7 +22,7 @@ var MSG_NO_ITEMS_AVAILABLE = _("A hold cannot be requested on any of these items > > $(document).ready(function() { > [% IF AutoResumeSuspendedHolds %] >- $(".suspend_until_datepicker").datepicker("option", "minDate", 1); >+ $(".suspend_until_datepicker, .datepickerfrom, .datepickerto").datepicker("option", "minDate", 1); > [% END %] > }); > >-- >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 10883
:
31186
|
31215
|
31474