You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by de...@apache.org on 2014/07/28 15:47:54 UTC

[6/8] fauxton commit: updated refs/heads/secondary-indexes to 4c45e12

Fauxton: Fix database view after the merge

The type is now an Array, not a String


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

Branch: refs/heads/secondary-indexes
Commit: 57923f457bb1e95f76d279b321415384676c7159
Parents: c829982
Author: Robert Kowalski <ro...@kowalski.gd>
Authored: Fri Jul 18 19:11:48 2014 +0200
Committer: Robert Kowalski <ro...@kowalski.gd>
Committed: Sun Jul 27 12:19:37 2014 +0200

----------------------------------------------------------------------
 app/addons/databases/resources.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/57923f45/app/addons/databases/resources.js
----------------------------------------------------------------------
diff --git a/app/addons/databases/resources.js b/app/addons/databases/resources.js
index e9e68a4..fa8a435 100644
--- a/app/addons/databases/resources.js
+++ b/app/addons/databases/resources.js
@@ -136,7 +136,7 @@ function(app, FauxtonAPI, Documents) {
       if (full || (typeof(updateSeq) === 'number')) {
         return updateSeq;
       } else if (updateSeq) {
-        return updateSeq.split('-')[0];
+        return updateSeq[0];
       } else {
         return 0;
       }