klark-js-plugins
Advanced tools
Comparing version 1.0.26 to 1.0.27
{ | ||
"name": "klark-js-plugins", | ||
"version": "1.0.26", | ||
"version": "1.0.27", | ||
"description": "Plugin modules for KlarkJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -54,3 +54,4 @@ 'use strict'; | ||
krkDbMongooseBinders.find(model, findOpts), | ||
krkDbMongooseBinders.count(model) | ||
krkDbMongooseBinders.count(model), | ||
(findOpts.filters || findOpts.uniqueBy) && krkDbMongooseBinders.find(model, findOpts).count() | ||
]) | ||
@@ -61,2 +62,3 @@ .then(function(resolvedPromises) { | ||
data.total = resolvedPromises[1]; | ||
data.filteredTotal = resolvedPromises[2]; | ||
res.locals.data = data; | ||
@@ -63,0 +65,0 @@ |
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
80161
2022