[Koha-bugs] [Bug 18011] Enrollment period date on patron category can be set in the past without any error/warning messages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 12 20:34:06 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18011

Pierre-Marc Thibault <pierre-marc.thibault at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #87878|0                           |1
        is obsolete|                            |

--- Comment #5 from Pierre-Marc Thibault <pierre-marc.thibault at inlibro.com> ---
Created attachment 87935
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=87935&action=edit
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 at inLibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list