ORDER BY needs commas between clauses when ordering by multiple fields.
Test included.

CommentFileSizeAuthor
database.multiple-orderby.patch2.45 KBbdragon

Comments

Crell’s picture

Status: Needs review » Reviewed & tested by the community

Bug confirmed. Code looks good. Includes unit test. :-) All DB unit tests pass.

damien tournoud’s picture

Looks great, for those wondering at home: no need to test this for PostgreSQL, as this is really standard SQL.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Looks like this was accidentally committed along with the ereg -> preg stuff. Anyway, fixed now. ;)

bdragon’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.