Feature #1880

Some Assign To improvements

Added by Pavel Shchur over 9 years ago. Updated about 9 years ago.

Status:ClosedStart date:2008-09-10
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:0.8
Resolution:Fixed

Description

I think it would be good if sort by Name users in filters for "Assign To" and context menu "Assign To"
below some changes which I made for this

  • Issues controller **************

@assignables = @issue.assignable_users.sort

changed to

@assignables = @issue.assignable_users.sort {|a,b| a.name <=> b.name}

  • Query.rb **************

user_values += project.users.sort.collect{|s| [s.name, s.id.to_s] }

changed to

user_values += project.users.sort {|a,b| a.name <=> b.name}.collect{|s| [s.name, s.id.to_s] }


Related issues

Related to Redmine - Patch #2015: sort by name in select box to add user to project. Closed 2008-10-09

History

#1 Updated by Jean-Philippe Lang about 9 years ago

  • Category set to UI
  • Status changed from New to Closed
  • Target version set to 0.8
  • Resolution set to Fixed

Fixed in r2010.

Also available in: Atom PDF