[Koha-bugs] [Bug 34352] It would be great to have a generic flatpickr based input for datatables column filters

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 25 15:35:26 CEST 2023


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

--- Comment #3 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
The first patch here enables the flatpickr for `type: "date"` columns in our
datatables wrapper (this can be tested on the patron search results page, where
we already set date types for dateofbirth and expirationdate fields in bug
34226).

However, the caveat is this allows only fully formed dates to be input which
prevents end users from filtering on year only (or day, or month for that
matter). Jonathan raised this as a possible issue and so I tried to update
flatpickr to allow 4 digit dates to be entered into the input box.. I failed
however, but my attempt is attached in case anyone wants to give it a try.

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


More information about the Koha-bugs mailing list