Commit 5411acf
committed
[Grid] Fix system.datetime filter never matching non-midnight values
DateTimeFilter::apply passed roundToDay=false to applySystemDatetimeFilter,
which makes GDI's DateFilter collapse gte and lte to the same instant for
"on" queries — and similarly turn from/to into exact instant boundaries.
The filter UI exposes only a date picker (no time), so an exact-instant
match here never succeeds for stored datetime values whose time component
is non-zero. DateFilter (system.date) already passes roundToDay=true;
DateTimeFilter should too.1 parent 94630f5 commit 5411acf
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | | - | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments