REST api for issue doesn't work with sort
The REST api for issue Rest_Issues states that it accepts a parameter 'sort'.
I use the api and pass in the column name, e.g. issue_id, updated_on, created_on, tracker_id etc, but I get the same list in the same order. Even if I also pass in ":desc", I still get the same list in the same order. The api doesn't support sort at all. Please add the support.
#3 Updated by Mao H about 1 year ago
I use something like "GET" (I'm using X-Redmine-API-Key in the request)
http://<my redmine server>/issues.json?sort=created_on
I also replace created_on with other column name and they all not sorting.
I also try :desc
http://<my redmine server>/issues.json?sort=created_on:desc
":desc" doesn't affect anything.
Both of the above two query return the same result as
http://<my redmine server>/issues.json