Permalink
Browse files

To include keys-filter for _all_docs.

  • Loading branch information...
Patrick Heneise
Patrick Heneise committed Nov 28, 2011
1 parent 598dc30 commit fa11e45324a9278c51ed5f37ed03126ea4e076d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 nano.js
View
@@ -124,7 +124,7 @@ module.exports = exports = nano = function database_module(cfg) {
req.headers.cookie = cfg.cookie;
}
if(!_.isEmpty(params)) {
- ['startkey', 'endkey', 'key'].forEach(function (key) {
+ ['startkey', 'endkey', 'key', 'keys'].forEach(function (key) {
if (key in params) { params[key] = JSON.stringify(params[key]); }
});
req.uri += "?" + qs.stringify(params);

0 comments on commit fa11e45

Please sign in to comment.