Feature #2007
Projects listing sorting
Start date:
09 Mar 2012
Due date:
% Done:
0%
External issue:
Description
Sorting could be added to projects listing...
History
#1 Updated by Olivier Houdas over 10 years ago
In the Project custom field combo, it would indeed be nicer to have projects sorted by alphabetical order.
In order to do so, you can modify /lib/extended_field_format.rb lines 19 and 21:
def possible_values_options(custom_field, object = nil)
if object.is_a?(User)
projects = Project.visible(object).all.sort
else
projects = Project.visible.all.sort
end
projects.collect{ |project| [ project.name, project.id.to_s ] }
end