couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [32/34] couchdb commit: updated refs/heads/paginate-api-options to b63c791
Date Mon, 03 Mar 2014 16:58:44 GMT
Continued work


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0901b9bb
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0901b9bb
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0901b9bb

Branch: refs/heads/paginate-api-options
Commit: 0901b9bbd6ba43652d27210be1b809186777bd6c
Parents: 747e004
Author: Garren Smith <garren.smith@gmail.com>
Authored: Fri Feb 21 06:06:03 2014 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Mon Mar 3 11:18:43 2014 +0200

----------------------------------------------------------------------
 src/fauxton/app/addons/documents/resources.js | 2 +-
 src/fauxton/app/addons/documents/views.js     | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/0901b9bb/src/fauxton/app/addons/documents/resources.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/resources.js b/src/fauxton/app/addons/documents/resources.js
index c5a2e2c..69c9e1a 100644
--- a/src/fauxton/app/addons/documents/resources.js
+++ b/src/fauxton/app/addons/documents/resources.js
@@ -33,7 +33,7 @@ function(app, FauxtonAPI) {
         throw "Require docs to paginate";
       }
 
-      var params = _.reduce(['reduce', 'keys', 'endkey', 'descending', 'inclusive_end'],
function (params, key) {
+      var params = _.reduce(['reduce', 'keys', 'key', 'endkey', 'descending', 'inclusive_end'],
function (params, key) {
         if (_.has(currentParams, key)) {
           params[key] = currentParams[key]; 
         }

http://git-wip-us.apache.org/repos/asf/couchdb/blob/0901b9bb/src/fauxton/app/addons/documents/views.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/documents/views.js b/src/fauxton/app/addons/documents/views.js
index 5468948..f80d07e 100644
--- a/src/fauxton/app/addons/documents/views.js
+++ b/src/fauxton/app/addons/documents/views.js
@@ -457,7 +457,6 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum
         database: app.utils.safeURLName(this.collection.database.id),
         updateSeq: updateSeq,
         totalRows: totalRows,
-        numModels: this.collection.models.length + recordStart - 1,
         pageStart: pageStart,
         pageEnd: pageEnd
       };


Mime
View raw message