I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Feature #2007

Projects listing sorting

Added by Andriy Lesyuk over 12 years ago. Updated over 10 years ago.

Status:
Incomplete
Priority:
Minor
Assignee:
Category:
-
Target version:
-
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

Also available in: Atom PDF

Terms of use | Privacy policy