sqlquerybuilder
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -22,4 +22,4 @@ module.exports = function pagingAndLists(self) { | ||
} | ||
if (reqquery.sidx && reqquery.sord) { | ||
self.orderBy(reqquery.sidx || defaultSort, reqquery.sord); | ||
if (reqquery.sidx || defaultSort) { | ||
self.orderBy(reqquery.sidx || defaultSort, reqquery.sord || "desc"); | ||
} | ||
@@ -26,0 +26,0 @@ if (reqquery.rows) { |
{ | ||
"name": "sqlquerybuilder", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"description": "Highly opinionated Sql Server Query Writer, mostly for internal use.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181430