Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

For the 'total' local variable required for pagination, how do I acquire the number of returned objects from a query ser

Hi Shawn,

Unfortunatly your question is not clear now.

Please specify what code you use and what do you want to get.

Also give us some screen shots about what you have.

Regards.

Joe Sharples
Posts: 0
Joined: Mon Aug 18, 2014 1:31 pm

For the 'total' local variable required for pagination, how do I acquire the number of returned objects from a query ser

Hi Yurii,

I'm having the same problem as shawn... If i use the limit parameter then data.length is what ever the limit value is.

for example I have 112 items in total, but if I use the limit parameter and set it at 30, then when I want to retrieve the total using data.length the value is 30, when it should be 112.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

For the 'total' local variable required for pagination, how do I acquire the number of returned objects from a query ser

Hi Joe,

You can not get all items (in accordance to current search criteria).

To get all items count (in accordance to current search criteria) you can use separate service with "count=1" parameter.

Please learn more about it here: https://devcenter.appery.io/documenta...

Regards.

Return to “Issues”