a17000 Posted January 30, 2019 Share Posted January 30, 2019 Hi, I have find a bug , I think : I do this request via WebService to get product list modified between two dates : $xml = $webService->get(array('resource' => 'products&date=1', 'display' => "[name,price,code_zone,wholesale_price,description,reference,id_category_default,id_category_default,id,date_upd,date_add]", "filter[date_upd]" => "[2018-12-03 16:40:48,9999-12-31 00:00:00]","sort" => "[date_upd_ASC]")); And I got a list of products...but the first product have date_upd = 2018-09-04 14:35:17... Why ???? If I try with anoter date like this : $xml = $webService->get(array('resource' => 'products&date=1', 'display' => "[name,price,code_zone,wholesale_price,description,reference,id_category_default,id_category_default,id,date_upd,date_add]", "filter[date_upd]" => "[2019-01-29 16:40:48,9999-12-31 00:00:00]","sort" => "[date_upd_ASC]")); the output is correct only product modified after 2019-01-29 .. any idea? Thanks, ps: I have 4000 products in my table ps_product Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now