commit | 102e663aab0a7fe4305dee866c55afcb22df6348 | [log] [tgz] |
---|---|---|
author | Robert Kowalski <rok@kowalski.gd> | Sun Nov 09 16:06:51 2014 +0100 |
committer | Robert Kowalski <rok@kowalski.gd> | Sun Nov 09 16:41:06 2014 +0100 |
tree | 7b8dcf55a0a84ac59ad3828f9ab7e9646fe378bc | |
parent | 747ec0f8dcd685d6b4fa7ef1687b7f571a5a0284 [diff] |
Fix broken key options noticed while porting the tests
diff --git a/jquery.couch.js b/jquery.couch.js index f368b2a..561d6f4 100644 --- a/jquery.couch.js +++ b/jquery.couch.js
@@ -792,6 +792,11 @@ : "(" + reduceFun.toString() + ")"; body.reduce = reduceFun; } + if (options["keys"]) { + var keys = options["keys"]; + delete options["keys"]; + body.keys = keys; + } return ajax({ type: "POST", url: this.uri + "_temp_view" + encodeOptions(options),