I am trying to sort fetched issues by two columns, and following the documentation https://python-redmine.com/resources/issue.html#filter I first wrote
redmine.issue.filter(..., sort = 'priority:desc')
which works as expected. But now, I want to sort the result also by the issue ID, within each priority. I found a sample at https://www.redmine.org/projects/redmine/wiki/Rest_Issues that looks like sort=category:desc,updated_on
so I tried adding this to my query:
redmine.issue.filter(..., sort = 'priority:desc, id')
(tests with sort = 'id'
and sort = 'id:desc'
alone show that the "id" is correct name of the column)
But that didn't work - the result is still sorted only by priority.
Can a set of issues fetched with python-redmine be sorted by two (or more) columns?
(I know that I can convert the result to a Python list and then sort it, and that is what I am now doing, but I prefer to spend CPU cycles on the server rather than on my local PC)
Thank you!