Page 1 of 1

Collection index having no affect on rest data output

Posted: Thu Apr 30, 2015 12:17 am
by Pete Garner

Have an Incident collection with the item column indexed asc, which populates a list which does not display sorted alphabetically.

Cannot see how to make the list use this index.

Would welcome some assistance.


Collection index having no affect on rest data output

Posted: Thu Apr 30, 2015 12:28 am
by Bruce Stuart

Pete,

Setting up the index is a great idea ... But you need to change your query to use it...

In your query service.... Add a parameter for 'sort' as shown here:

Image

For the value you put in that parameter ... Read here:
https://devcenter.appery.io/documenta...

Best,
Bruce


Collection index having no affect on rest data output

Posted: Thu Apr 30, 2015 12:46 am
by Pete Garner

Hi Bruce

Thank you for the advice and prompt response, much appreciated

Kind regards

Pete