[Koha-bugs] [Bug 34226] Format dates from DT filters before querying the REST API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 7 15:15:54 CEST 2023


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 153180
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153180&action=edit
Bug 34226: DT wrapper - pre-processed date term when filtering

If we have filters on top of column on a table that is using the DT REST API
wrapper,
we cannot filter on date using formatted dates.

This was done for "date of birth" for bug 32505.
Here we want to provide a generic approach.

Note that we cannot use what has been done on bug 22440 in some cases
(when we don't write the thead DOM directly but rely on DataTables
constructor, for instance bug 33568). The data- attributes are not
passed by DT.

Test plan:
On top of 33568, filter date columns using the full version of the
formatted date

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


More information about the Koha-bugs mailing list