Fix for #185 - RawSql parse not working with "order siblings by NAME"

This commit is contained in:
rbygrave
2014-12-17 21:03:53 +13:00
parent 15be5dd4c7
commit 43ecfe7c19
5 changed files with 53 additions and 16 deletions
@@ -127,7 +127,7 @@ public class CQueryBuilderRawSql implements Constants {
}
if (!isEmpty(orderBy)) {
sb.append(" order by ").append(orderBy);
sb.append(" ").append(sql.getOrderByPrefix()).append(" ").append(orderBy);
}
return sb.toString().trim();