diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-10-17 18:37:05 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-10-17 18:37:05 -1000 |
commit | 9be582e55325ff484c3c49baa155a4deb09450af (patch) | |
tree | 5c9a9399e477ff74f34a5fde8527cc971acdadad /lib/app.js | |
parent | 6d54ac255cb2f96433e88d9c2482074749bd4eea (diff) | |
download | patchfoo-9be582e55325ff484c3c49baa155a4deb09450af.tar.gz patchfoo-9be582e55325ff484c3c49baa155a4deb09450af.zip |
Fix limit on backlinks queries
Diffstat (limited to 'lib/app.js')
-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, |