From: Jean-Philippe Lang Date: Thu, 3 Jan 2013 11:40:39 +0000 (+0000) Subject: Repository changesets are already sorted by committed_on DESC (#12713). X-Git-Tag: 2.3.0~367 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=049eaeb776b51710a1a2efe061a0850626445938;p=redmine.git Repository changesets are already sorted by committed_on DESC (#12713). SQLServer raises an error because committed_on is specified twice in the order by list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11101 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/repository/git.rb b/app/models/repository/git.rb index e07e7c804..579e86c4c 100644 --- a/app/models/repository/git.rb +++ b/app/models/repository/git.rb @@ -251,8 +251,7 @@ class Repository::Git < Repository :conditions => [ "scmid IN (?)", revisions.map!{|c| c.scmid} - ], - :order => 'committed_on DESC' + ] ) end