]> source.dussan.org Git - redmine.git/commit
Use joins instead of sub-queries in group by/sort by when using custom fields (#12713).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 3 Jan 2013 12:28:50 +0000 (12:28 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 3 Jan 2013 12:28:50 +0000 (12:28 +0000)
commitd82159bcf544bb66e301599ae0cada1ce73f2335
treec15e3ebbcdd217b94ec4f668e69ceb041990154e
parent049eaeb776b51710a1a2efe061a0850626445938
Use joins instead of sub-queries in group by/sort by when using custom fields (#12713).

Sub-queries in group by are not supported by SQLServer.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11102 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/custom_field.rb
app/models/issue_query.rb
test/unit/query_test.rb