couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject [6/8] fauxton commit: updated refs/heads/secondary-indexes to 4c45e12
Date Mon, 28 Jul 2014 13:47:54 GMT
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 <rok@kowalski.gd>
Authored: Fri Jul 18 19:11:48 2014 +0200
Committer: Robert Kowalski <rok@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;
       }


Mime
View raw message