Feature #1880

Some Assign To improvements

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

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


Target version:0.8


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


#1 Updated by Jean-Philippe Lang about 14 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