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

--- Comment #5 from Owen Leonard <[email protected]> ---
> This does change the calendar widget, but clicking on 'Yesterday' clears an
> existing date in the input field and doesn't put yesterday's date

Further investigation shows that this is a bug in our Flatpickr implementation,
not with the change I've made to this particular template. See the "Patrons
with no checkouts" report (/cgi-bin/koha/reports/borrowers_out.pl) which has a
similarly-configured date picker.

While debugging this I did see that I'd missed one of the options Jonathan
implemented in Flatpickr: a "pastinclusive" option which limits to dates in the
past OR today. This is both more correct for this situation and working
correctly, so I have resubmitted with this change.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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/

Reply via email to