Bugzilla – Attachment 87973 Details for
Bug 18011
Enrollment period date on patron category can be set in the past without any error/warning messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18011: Enrollment period date on patron category can be set in the past without any error/warning messages
Bug-18011-Enrollment-period-date-on-patron-categor.patch (text/plain), 1.96 KB, created by
Chris Cormack
on 2019-04-15 00:36:39 UTC
(
hide
)
Description:
Bug 18011: Enrollment period date on patron category can be set in the past without any error/warning messages
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2019-04-15 00:36:39 UTC
Size:
1.96 KB
patch
obsolete
>From a2d45ab362675d493ccf6751ab654813084c9896 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 12 Apr 2019 11:04:06 +0000 >Subject: [PATCH] Bug 18011: Enrollment period date on patron category can be > set in the past without any error/warning messages > >This patch modifies the patron category edit form so that the enrollment >period datepicker widget cannot be used to select a date in the past. > >The <input> element had a "datepicker" class, which triggers a default >datepicker configuration. This was overriding the configuration in the >page-specific JavaScript file. > >To test, apply the patch and go to Administration -> Patron categories. > >Click the "Enrollment period -> Until date" field and verify that dates >before today are disabled. > >Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com> >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >index 143c1a6711..f2704e9b57 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >@@ -93,7 +93,7 @@ > </li> > <li> > <label for="enrolmentperioddate" style="width:6em;">Until date: </label> >- <input type="text" class="enrollmentperiod datepicker" name="enrolmentperioddate" id="enrolmentperioddate" value="[% category.enrolmentperioddate | $KohaDates %]" /> >+ <input type="text" class="enrollmentperiod" name="enrolmentperioddate" id="enrolmentperioddate" value="[% category.enrolmentperioddate | $KohaDates %]" /> > </li> > </ol> > </fieldset> >-- >2.11.0
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 18011
:
87878
|
87935
| 87973