Project

General

Profile

Actions

Feature #417

closed

MyPage 'assigned to me' should list by priority

Added by Damien McKenna over 16 years ago. Updated over 16 years ago.

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

0%

Estimated time:
Resolution:

Description

The Assigned To Me list should sort by priority first, date second:

Index: Sites/redmine/app/views/my/blocks/_issuesassignedtome.rhtml ===================================================================
--- Sites/redmine/app/views/my/blocks/_issuesassignedtome.rhtml (revision 669)
++ Sites/redmine/app/views/my/blocks/_issuesassignedtome.rhtml (working copy)
@ -1,9 +1,9 @
<h3><%=l(:label_assigned_to_me_issues)%></h3>
<% assigned_issues = Issue.find(:all,
:conditions => ["assigned_to_id=? AND #{IssueStatus.table_name}.is_closed=?
AND #{Project.table_name}.status=#{Project::STATUS_ACTIVE}", user.id, false],
- :limit => 10,
:limit => 20,
:include => [ :status, :project, :tracker ],
- :order => "#{Issue.table_name}.updated_on DESC") %>
+ :order => "#{Issue.table_name}.priority_id DESC, #{Issue.table_name}.updated_on
DESC") %>

I also bumped up the count to 20 items, as that's the only list I have on that page.

Actions #1

Updated by Jean-Philippe Lang over 16 years ago

Done in rev 684.
Note that you can now view the full list of issues assigned to
you (cross-project issue list added in this rev).

Actions

Also available in: Atom PDF