diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-08-02 16:48:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-08-02 16:48:23 +0000 |
commit | f8183429a99d1b185482170e1c08249764a1f7e8 (patch) | |
tree | 90280a5d66e711cb5ca5c7ab5cece69f3818be01 /app/models/version.rb | |
parent | 2275f46138758c2cf10511901a59c555e14a046f (diff) | |
download | redmine-f8183429a99d1b185482170e1c08249764a1f7e8.tar.gz redmine-f8183429a99d1b185482170e1c08249764a1f7e8.zip |
Adjust the comment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10153 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/version.rb')
-rw-r--r-- | app/models/version.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/version.rb b/app/models/version.rb index 6a7dae6a6..cd32da91e 100644 --- a/app/models/version.rb +++ b/app/models/version.rb @@ -162,8 +162,8 @@ class Version < ActiveRecord::Base "#{project} - #{name}" end - # Versions are sorted by effective_date and "Project Name - Version name" - # Those with no effective_date are at the end, sorted by "Project Name - Version name" + # Versions are sorted by effective_date and name + # Those with no effective_date are at the end, sorted by name def <=>(version) if self.effective_date if version.effective_date |