BrianYarrington
5 years agoQrew Member
API_DoQuery options skip-n being ignore
I'm implementing pagination for queries through the API using the API_DoQuery action and the skip-n and num-n options. For my queries, the API is ignoring the skip-n option.
The following call returns >3800 records:
To paginate, I use the options skip-n and num-n. But the following API calls return the exact same 500 records:
That is, the skip-n option seems to be completely ignored, but the num-n option is not, as only 500 records are returned with each of the queries. Also, if I reverse the order of the options and put skip-n first (i.e. "options=skip-500.num-500"), nothing changes. Anyone have any ideas? Thx.
------------------------------
Brian Yarrington
------------------------------
The following call returns >3800 records:
To paginate, I use the options skip-n and num-n. But the following API calls return the exact same 500 records:
That is, the skip-n option seems to be completely ignored, but the num-n option is not, as only 500 records are returned with each of the queries. Also, if I reverse the order of the options and put skip-n first (i.e. "options=skip-500.num-500"), nothing changes. Anyone have any ideas? Thx.
------------------------------
Brian Yarrington
------------------------------