Defect #12862

Order by parent task is broken

Added by Daniel Felix over 9 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:-
Resolution: Affected version:2.2.1

Description

Maybe this is be the expected behaviour but in my opinion, this seems to be broken.

This happens, if you order the issue list by parent task.

Unordered:
IssueID ParentTaskID
1 Nil
2 1
3 Nil
4 Nil
5 6
6 Nil
Unordered ascending by ParentTaskID
IssueID ParentTaskID
1 Nil
2 1
3 Nil
4 Nil
6 Nil
5 6
Unordered descending by ParentTaskID
IssueID ParentTaskID
6 Nil
5 6
4 Nil
3 Nil
1 Nil
2 1

I'm using Redmine 2.2.1. Can anyone confirm this or explain if this is the expected behaviour?

I would rather expect this:
Unordered ascending by ParentTaskID
IssueID ParentTaskID
2 1
5 6
1 Nil
3 Nil
4 Nil
6 Nil

Also available in: Atom PDF