cakephp/cakephp — pull request #369 by agenceamiral (2011-12-10 05:27:50+00:00)
Title: Adding support for ORDER BY CASE ... WHEN x THEN y END CASE sorting clause

Hi,

I have added support for the [ORDER BY CASE ... WHEN x THEN y END CASE](http://dev.mysql.com/doc/refman/5.0/en/case-statement.html) sorting clause, it won't add "ASC" at the end of the expression.