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:
parent
8b08c1a534
commit
049eaeb776
|
@ -251,8 +251,7 @@ class Repository::Git < Repository
|
||||||
:conditions => [
|
:conditions => [
|
||||||
"scmid IN (?)",
|
"scmid IN (?)",
|
||||||
revisions.map!{|c| c.scmid}
|
revisions.map!{|c| c.scmid}
|
||||||
],
|
]
|
||||||
:order => 'committed_on DESC'
|
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue