Jean-Philippe Lang a8083fb9a8 Pass the order option as an array to satisfy sqlserver adapter (#12713).
Unlike other adapters, the sqlserver adapter processes the order option and wipes it when using functions.
Here we can see a "ASC" inserted in the COALESCE call:

irb(main):001:0> Issue.order("coalesce(estimated_hours, 0), id").to_sql
=> "SELECT [issues].* FROM [issues] ORDER BY coalesce(estimated_hours ASC, 0) ASC, id ASC"

This does not happen when passing the order SQL fragments separately.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-04 10:04:25 +00:00
2012-12-18 12:23:31 +00:00
2012-04-25 17:17:49 +00:00
2012-05-09 13:10:04 +00:00
2012-10-23 10:50:09 +00:00
2012-04-25 17:17:49 +00:00
2013-01-04 09:00:55 +00:00
2012-04-25 17:17:49 +00:00
2011-11-19 16:10:28 +00:00

= Redmine

Redmine is a flexible project management web application written using Ruby on Rails framework.

More details can be found in the doc directory or on the official website http://www.redmine.org
Description
My patches for Redmine
Readme 22 MiB
Languages
Ruby 76.1%
HTML 20%
JavaScript 2%
CSS 1.1%
PHP 0.3%
Other 0.5%