[Koha-bugs] [Bug 25789] New expiration date editor on request.pl can set a date in the past
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 18 09:04:41 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25789
Emmi Takkinen <emmi.takkinen at outlook.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |emmi.takkinen at outlook.com
Assignee|koha-bugs at lists.koha-commun |emmi.takkinen at outlook.com
|ity.org |
Status|NEW |Needs Signoff
--- Comment #1 from Emmi Takkinen <emmi.takkinen at outlook.com> ---
Created attachment 105996
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105996&action=edit
Bug 25789: Don't allow past date as holds expiration date
When editing existing holds expiration date it's possible to select
past date from datepicker. This patch changes expiration inputs class
as "datepickerto" to make past dates unselectable.
To test:
1. Find item with holds
2. Edit holds expiration date
=> Note that past dates are selectable
3. Apply patch
4. Edit again
=> Past dates are no longer selectable
Sponsored-by: Koha-Suomi Oy
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list