advanced-results
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -221,3 +221,3 @@ "use strict"; | ||
pagination.next = { | ||
nextPage: (page + 2) * limit <= total ? page + 2 : undefined, | ||
nextPage: pagination.pages >= page + 2 ? page + 2 : undefined, | ||
page: page + 1, | ||
@@ -224,0 +224,0 @@ }; |
{ | ||
"name": "advanced-results", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Advanced query middleware for expressjs and mongoose", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
63189