php-crud-api icon indicating copy to clipboard operation
php-crud-api copied to clipboard

transform not working with filter

Open abureviewer3 opened this issue 10 years ago • 4 comments

CURLOPT_URL => $url.'api.php/oc_orders?filter[]=date_added,gt,2016-07-13 00:00:00&transform=1'

abureviewer3 avatar Jul 18 '16 08:07 abureviewer3

datetime or timestamp?

mevdschee avatar Jul 19 '16 21:07 mevdschee

I'm filtering datetime

abureviewer3 avatar Jul 20 '16 09:07 abureviewer3

Hi, could it be that you need to call urlencode() on the string before appending to $url?

mevdschee avatar Jul 21 '16 00:07 mevdschee

Hi, thank for your response I adjusted it in my coding its works like charm.

abureviewer3 avatar Jul 21 '16 04:07 abureviewer3