diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -565,7 +565,7 @@ App.prototype.filter = function (plugin, opts, filter) { plugin.read({ index: index, reverse: opts.reverse, - limit: limit && (limit + 1), + limit: limit ? (limit + 1) : undefined, query: [{$filter: u.mergeOpts(filter, { timestamp: { $gte: opts.gt, |