Subprojects are now grouped by projects in the 'Projects' top navigation drop-down menu.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@703 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-09-05 17:24:22 +00:00
parent 17a3f9e44c
commit a19a0d7b92
3 changed files with 18 additions and 12 deletions
+4
View File
@@ -116,6 +116,10 @@ class Project < ActiveRecord::Base
def all_custom_fields
@all_custom_fields ||= (IssueCustomField.for_all + custom_fields).uniq
end
def <=>(project)
name <=> project.name
end
protected
def validate