Project

General

Profile

Actions

Feature #1880

closed

Some Assign To improvements

Added by Pavel Shchur about 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
Start date:
2008-09-10
Due date:
% Done:

0%

Estimated time:
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.Closed2008-10-09

Actions
Actions #1

Updated by Jean-Philippe Lang almost 16 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.

Actions

Also available in: Atom PDF