[SOLVED] Top property being ignored on JSON Queries

Hi,

It seems as if the top property when using a JSON query is ignored. My request looks like the following;

https://squidex-dev.mkmapps.com/api/content/ipm/resource?q={"top"%3A9%2C"skip"%3A0%2C"sort"%3A[{"path"%3A"created"%2C"order"%3A"descending"}]%2C"filter"%3Anull}

{"top":9,"skip":0,"sort":[{"path":"created","order":"descending"}],"filter":null}

I would expect 9 results to be returned but it seems to just return them all.

Any ideas?

hi, it is take. is it an error in the docs?

Yes, it is wrong in the docs. I will correct it there. Very stupid, sorry

Yep, that’s it. Thanks

1 Like