DS filtering: filtering using 'earlier than' and default value
This is an open discussion with 1 reply, filed under Troubleshooting.
Search
This is related to PHP’s date and time handling. From php.net:
5.1.0: The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer). However, before PHP 5.1.0 this range was limited from 01-01-1970 to 19-01-2038 on some systems (e.g. Windows).
Create an account or sign in to comment.
Hi,
I’m trying to filter datasource by date using both
earlier than
and default value:I can’t get it to work. If date in url is not provided default value is not used and I see
<error>No records found.</error>
in the xml source. If date is provided everything is ok. Is this a bug or I am doing something wrong?[edit]
this happens in symphony 2.0.8RC2 and after updating to 2.1.1
[edit 2] I’ve changed filter rule to:
and now it’s working.