https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29241
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #126473|0 |1 is obsolete| | --- Comment #8 from David Nind <[email protected]> --- Created attachment 126674 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126674&action=edit Bug 29241: Allow display of past date for .futuredate When a past date is set for a flatpickr instance with the .futuredate class, only dates in the future are available AND the input is blanked. It does not display the date in the past. For instance if a hold is expired (expirationdate in the past), the date input will be blanked. We can use the flatpickr's allowInvalidPreload option to allow date in the past to be displayed. Test plan: Place a hold Edit its expirationdate and set a date in the past (yesterday is fine) Go to /reserve/request.pl?biblionumbers=42 => With the patch you see the date, and the widget let you chose anoter date, in the future => Without this patch the expiration date is not displayed Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
