Reply

WAPI - sorting search results

Techie
Posts: 5
2856     0

Is it possible at all?

 

I tried to find any information here and in the docs, but had no luck.

 

For example this WAPI request:

GET <wapi_url>/scheduledtask?_paging=1&_return_as_object=1&max_results=4

will return all the scheduled tasks sorted by creation day with the oldest on the top.

 

What if we want to reverse the sorting order and the newest objects show at the top (sort by task_id, descending)?

 

Thank you.

Re: WAPI - sorting search results

New Member
Posts: 10
2857     0

I'm also experiencing such a problem.

 

Any suggestion?

Re: WAPI - sorting search results

Member
Posts: 1
2857     0

Is there any advancement regarding sorting?

Re: WAPI - sorting search results

Community Manager
Community Manager
Posts: 209
2857     0

I don't expect this to be addressed, as sorting and other formatting changes can be handled client-side.

Re: WAPI - sorting search results

Techie
Posts: 5
2857     0

Client side sorting, filtering and searching doesn't play well with server side pagination enabled (_paging=1).

Showing results for 
Search instead for 
Did you mean: 

Recommended for You