Hi all,

I'm working with Pagination and Cake PHP.
To filter Pagination entry's I'm using the following filter Criteria.

$criteria = array (
...
"Filter.birthdayFrom" => array (
                                "property" => "Usr.birthday",
                                "condition" => ">=" . date('d.m.Y'),
                                "type" => "date"
                        ),
"Filter.birthdayTo" => array (
                                "property" => "Usr.birthday",
                                "condition" => "<=" . date('d.m.Y'),
                                "type" => "date"
                        ),
...

All other filter criteria for pagination working fine. But this two
generates always a wrong selct string like:
SELECT .... FROM Usr WHERE Usr.birthday = '15.08.1982' AND ....

I need something like this:
SELECT .... FROM Usr WHERE Usr.birthday >= '15.08.1982' AND ....
but how can mange this.

Do Cake support this art of criteria???

Thanks
Oleg


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to