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
This commit is contained in:
Jean-Philippe Lang 2013-01-03 11:40:39 +00:00
parent 8b08c1a534
commit 049eaeb776
1 changed files with 1 additions and 2 deletions

View File

@ -251,8 +251,7 @@ class Repository::Git < Repository
:conditions => [
"scmid IN (?)",
revisions.map!{|c| c.scmid}
],
:order => 'committed_on DESC'
]
)
end