Permalink
Browse files

Fixes #46

  • Loading branch information...
1 parent cb91887 commit c399cbd46c00a9bc20bc37fb5cae38c1d9a216b2 @thadclay thadclay committed Jan 23, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 lib/adapters/mysql/statements.js
@@ -202,9 +202,6 @@ var buildOrderClause = function(opts) {
var orderFields = _(opts.order).chain()
.map(function(orderField) {
var direction = orderField[0] === '-' ? "DESC" : "ASC";
- //var orderField = orderField[0] === '-' ?
- // utils.doubleQuote(orderField.substring(1, orderField.length)) :
- // utils.doubleQuote(orderField);
var orderField = orderField[0] === '-' ?
utils.backtick(orderField.substring(1, orderField.length)) :
utils.backtick(orderField);

0 comments on commit c399cbd

Please sign in to comment.