summaryrefslogtreecommitdiff
path: root/share/www/script/browse.js
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-01-09 19:34:01 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-01-09 19:34:01 +0000
commitf6664de58f489627fee6e4283a1d17e0c6a99433 (patch)
tree39ed0d1d2c11f744cc5edaddbf670b09817a77eb /share/www/script/browse.js
parentfbabdb19583198cf77add0b9cff354d70c45ff5a (diff)
fixed design doc listing in Futon for new all docs collation
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733128 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/browse.js')
-rw-r--r--share/www/script/browse.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/www/script/browse.js b/share/www/script/browse.js
index f6aad59f..5ee3e3cd 100644
--- a/share/www/script/browse.js
+++ b/share/www/script/browse.js
@@ -205,7 +205,7 @@ function CouchDatabasePage() {
this.populateViewsMenu = function() {
var select = $("#switch select");
- db.allDocs({startkey: "_design/", endkey: "_design/ZZZ",
+ db.allDocs({startkey: "_design/", endkey: "_design0",
success: function(resp) {
select[0].options.length = 3;
for (var i = 0; i < resp.rows.length; i++) {
@@ -519,8 +519,8 @@ function CouchDatabasePage() {
}
db.query(mapFun, reduceFun, null, options);
} else if (viewName == "_design_docs") {
- options.startkey = options.descending ? "_design/ZZZZ" : "_design/";
- options.endkey = options.descending ? "_design/" : "_design/ZZZZ";
+ options.startkey = options.descending ? "_design0" : "_design";
+ options.endkey = options.descending ? "_design" : "_design0";
db.allDocs(options);
} else {
$("#viewcode").show();