system
April 28, 2022, 1:35pm
1
Migrated from Redmine #874 | Author: Rehan H
Status: New | Priority: High, I’m very impatient | Created: 2022-04-28
Hi, is there a way to sort the listings response by id, start date, or any other parameter?
I see the ‘order’ field under the API documentation section, but it’s not working for the REST API.
Thanks
system
April 29, 2022, 6:57am
3
Redmine Admin wrote:
hi, it is sorted by id by default. There is no way to sort it by any field
system
April 29, 2022, 9:01am
4
Rehan H wrote:
Is there a way to change the order direction? Ascending to Descending order?
system
April 29, 2022, 9:02am
5
Redmine Admin wrote:
unfortunately no. You can reorder data your side if needed
system
April 29, 2022, 9:04am
6
Rehan H wrote:
The problem is that the date is paginated and is in ascending order so its not possible to sort the data on my own. Can you give me an example of how to sort data on my end?