Pete Garner
Posts: 0
Joined: Thu Apr 30, 2015 12:17 am

Collection index having no affect on rest data output

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.

Bruce Stuart
Posts: 0
Joined: Fri Oct 24, 2014 4:42 am

Collection index having no affect on rest data output

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

Pete Garner
Posts: 0
Joined: Thu Apr 30, 2015 12:17 am

Collection index having no affect on rest data output

Hi Bruce

Thank you for the advice and prompt response, much appreciated

Kind regards

Pete

Return to “Issues”