diff options
author | Paul Joseph Davis <davisp@apache.org> | 2009-04-22 14:41:47 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2009-04-22 14:41:47 +0000 |
commit | e5be78e42c38b5546d68d98e4b1db286600e9ed5 (patch) | |
tree | dbd8f78044c938e8d729bbc02cbd689c44f88172 /share | |
parent | 468c9476310d752095d5a63040b2b070fac400aa (diff) |
Refactoring the view URL parameter parsing.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r-- | share/www/script/test/view_offsets.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/view_offsets.js b/share/www/script/test/view_offsets.js index 97cd6b97..e32d070b 100644 --- a/share/www/script/test/view_offsets.js +++ b/share/www/script/test/view_offsets.js @@ -42,7 +42,7 @@ couchTests.view_offsets = function(debug) { db.bulkSave(docs); var check = function(startkey, offset) { - var opts = {startkey: startkey, descending: true, reduce: false}; + var opts = {startkey: startkey, descending: true}; T(db.view("test/offset", opts).offset == offset); }; @@ -90,7 +90,7 @@ couchTests.view_offsets = function(debug) { var res = db.view("test/offset", { startkey: ["b",4], startkey_docid: "b4", endkey: ["b"], - limit: 2, descending: true, skip: 1, reduce: false + limit: 2, descending: true, skip: 1 }) return res.offset == 4; |