When specifying the sorting condition of multiple columns including Date column in the custom query, sorting of columns after Date column does not work.
We (Plan.io) can confirm this issue and concur with the first part of the proposed patch. In addition the QueryColumn should be changed to a TimestampQueryColumn.
I am not sure about the second part of the patch though. Currently the IssueQuery defaults to id DESC if no other id sorting is defined regardless of other sortings. If this is changed in TimeEntryQuery it should also be consistently change in the IssueQuery.
Go Maeda, what would be needed to commit this patch? Do you think a test would be necessary?
I am not sure about the second part of the patch though. Currently the IssueQuery defaults to id DESC if no other id sorting is defined regardless of other sortings. If this is changed in TimeEntryQuery it should also be consistently change in the IssueQuery.
Without the second part, the sorting order is reversed from the current and an existing test TimelogControllerTest#test_index_should_sort_by_spent_on_and_created_on will fail.
Go Maeda, what would be needed to commit this patch? Do you think a test would be necessary?
I can commit the patch if how handle the second part of the patch is decided.