Date range filter bug

All ApPHP DataGrid script bugs discussion. Questions and requests here.
Please, use a $debug_mode = true; before you say "Why Nothing Works ?!" (solves 90% of all issues)

Moderator: alexandrleonenko

kbcware
Newbie
Newbie
Posts: 2
Joined: Sep 30th, '12, 22:35

Date range filter bug

Postby kbcware » Sep 30th, '12, 22:43

I have a from and to range filter. I followed the guide about adding this. However, I noticed that the "to" value is treated like an exclusive value. For instance, if I have orders with varying times from Sept. 28 to Sept. 29, and then I searched "From Sep 28, To Sep 29", only sep 28 orders will be shown. It probably is because the "to" value being used is midnight, 00:00:00, so everything after sep. 29 midnight is ignored. This bug is particularly obvious when we want to show records only on a single date (same value for From and To) -- no records will show up.

How can we fix this?

administrator
Site Admin
Site Admin
Posts: 5997
Joined: Jan 7th, '09, 23:18
Contact:

Re: Date range filter bug

Postby administrator » Oct 1st, '12, 09:05

What version of datagrid you work with?
Please turn on debug mode and send us a liunk to your page, so we could check what exactly happens.

Slawek68
Junior
Junior
Posts: 18
Joined: Sep 11th, '09, 08:17

Re: Date range filter bug

Postby Slawek68 » Dec 18th, '12, 08:31

I found this error:
When I'm searching range and when I get many results (multiple pages in datagrid)
the transition to the next page in the $_GET array some fields are missing,
including operator fields, eg
uniquePrefix_ff_filter_field_operator_fo_from
uniquePrefix_ff_filter_field_operator_fo_to
The result is that the search results are poor.
Datagrid version 7.7.7.

administrator
Site Admin
Site Admin
Posts: 5997
Joined: Jan 7th, '09, 23:18
Contact:

Re: Date range filter bug

Postby administrator » Dec 19th, '12, 08:08

This issue was already fixed, please re-download script again and try it now.

ciruzz000
Expert
Expert
Posts: 68
Joined: Jan 28th, '10, 12:15

Re: Date range filter bug

Postby ciruzz000 » Sep 9th, '13, 15:08

i have the same problem with 7.9.9.
Help me....

administrator
Site Admin
Site Admin
Posts: 5997
Joined: Jan 7th, '09, 23:18
Contact:

Re: Date range filter bug

Postby administrator » Sep 10th, '13, 07:25

Explain please in moire detail or show as this issue with online example.


Return to “ApPHP DataGrid {bugs}”