Closed bruntib closed 2 months ago
Does this change still work if there is something in the "sort types" in the API? Which sorting takes priority in that case?
Does this change still work if there is something in the "sort types" in the API? Which sorting takes priority in that case?
In SQL Alchemy .order_by(col1, col2)
is equal to .order_by(col1).order_by(col2).
The generated raw SQL query would be "SELECT col1, col2, ... FROM
When getRunResults() API function queries the reports, the query uses LIMIT and OFFSET for returning the given page of the results due to their huge number. However, it is possible that different pages have overlapping reports. This way the resulting report list may contain duplicate reports. In this commit we apply an ordering on report id in order to prevent this.