Hi
I’m querying the studies via
/tools/find {“Level” : “Study”, “Expand”: true, “Query”:{}}
is there any way to sort the results chronologically? it now display on ascending order of study uploaded date(to orthanc)
I don’t think there is a built-in option for that in the query. You might want to consider implementing a Python Plug-in to filter and sort, so of like this, but using tools/find and sorting on different options.
See:
https://book.orthanc-server.com/plugins/python.html?highlight=python#implementing-basic-paging
Stephen D. Scotti. M.D.