Project

General

Profile

Actions

Defect #20123

closed

Can't sort by multiple fields when sorting by parent

Added by Sebastian Paluch over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

It seems that the issue sort order set when creating custom query does not work when "Parent task" is involved.
Take a look on attached query screen shoot. It is a query that sorts first by "Parent task" to show hierarchy and then by "Update" field. The marked issues 21047 and 21069 have the same parent as others but much older date and should be listed at the end.

Also the change introduced in #2871 does not seem to work.

Environment:
  Redmine version                3.0.1.stable
  Ruby version                   2.0.0-p594 (2014-10-27) [i386-mingw32]
  Rails version                  4.2.0
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.11
  Git                            1.9.5
  Filesystem                     
Redmine plugins:
  inside_avatar                  1.0.2
  parent_issue_filter            1.0.1
  redmine_agile                  1.3.8
  redmine_spent_time_column      2.1.0
  redmine_version_fixed_issues   1.0.0
  sidebar_hide                   0.0.7

Files

sort order.png (112 KB) sort order.png Sebastian Paluch, 2015-06-18 08:48

Related issues

Is duplicate of Redmine - Defect #10048: Secondary sorting after sorting by parent taskNew

Actions
Actions

Also available in: Atom PDF