tieniber / DataGridColumnSearch

A Mendix helper widget that adds in-column search fields to a data grid
https://appstore.home.mendix.com/link/app/32075/Mendix/Data-Grid-Search-Filters
1 stars 5 forks source link

Date filtering not working on Mendix 7.23 #19

Open spote87 opened 4 years ago

spote87 commented 4 years ago

Date search is not working properly when entity localization is NO . Suppose I have Entity Student with birthdate attribute of type Date and Time and localization is not enabled. Now consider one student has birthdate 31-08-2020. When I search for 31-08-2020, I do not find above student but when I search 30-08-2020, I can find this student.

I see this issue is fixed when I pass localized attribute value as true in searchObj object of _addDateSearchBox function . I have tested it for both attribute types(localized and non localized) and it seems to be working fine. But I am not sure if this is correct fix.

Mendix version: 7.23.3

spote87 commented 4 years ago

Attaching screenshot where issue is reproducible. DataGridColumnSearch_issue

Please note: I am using Altlas UI Resources theme