Feature #417
closedMyPage 'assigned to me' should list by priority
0%
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.
Updated by Jean-Philippe Lang about 17 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).