mahendra159 Posted March 28, 2015 Share Posted March 28, 2015 (edited) WebService filter is not working if supplied with more than 2 parameters. ********************************************************************************************************************************** Working link for checking the issue - http://www.exfresh.co.in/api/products?display=full&filter[id]=[1,2,3] WebService Key - 3RFNYFUCHNVV2JE5UEVPKQ2G4TV9JGMB ********************************************************************************************************************************** For eg. - http://192.168.1.31/prestashop16/api/products?display=full&filter[id]=[2,3] Here if I filter products with only one id or two ids, then works fine, but if I add more than 2 ids than result will contain details of only first most id. For eg. - http://192.168.1.31/prestashop16/api/products?display=full&filter[id]=[2,3,8] ---now this wont work. It will result into details of product id =2 only. I have checked with fresh installation of latest version of prestashop (1.6.0.11). Issue is there. Please resolve this issue, or If I am doing something wrong, then correct me and guide me with proper solution. Thanks Edited March 28, 2015 by mahendra159 (see edit history) Link to comment Share on other sites More sharing options...
bcarron Posted December 12, 2016 Share Posted December 12, 2016 I know this is old but I had this issue and for people looking to resolve this, you should use filter[id]=[2|3|8] instead of filter[id]=[2,3,8]. 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