From e5be78e42c38b5546d68d98e4b1db286600e9ed5 Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Wed, 22 Apr 2009 14:41:47 +0000 Subject: Refactoring the view URL parameter parsing. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767543 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/view_offsets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/www') 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; -- cgit v1.2.3