couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [5/6] fauxton commit: updated refs/heads/sidebar-fixes to 1ba9f1a
Date Mon, 18 Aug 2014 09:48:35 GMT
improve design doc query for sidebar


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

Branch: refs/heads/sidebar-fixes
Commit: 77d6433bb86f514d8c4b80d723e78ef943c1306c
Parents: 5892c95
Author: Garren Smith <garren.smith@gmail.com>
Authored: Wed Aug 13 12:57:14 2014 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Mon Aug 18 11:36:09 2014 +0200

----------------------------------------------------------------------
 app/addons/documents/routes.js              | 4 ++--
 app/addons/documents/templates/sidebar.html | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/77d6433b/app/addons/documents/routes.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/routes.js b/app/addons/documents/routes.js
index 8413714..c5287e7 100644
--- a/app/addons/documents/routes.js
+++ b/app/addons/documents/routes.js
@@ -182,8 +182,8 @@ function(app, FauxtonAPI, Documents, Changes, Index, DocEditor, Databases,
Resou
           pageSize: 500
         },
         params: {
-          startkey: '_design',
-          endkey: '_design1',
+          startkey: '_design/',
+          endkey: '_design0',
           include_docs: true,
           limit: 500
         }

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/77d6433b/app/addons/documents/templates/sidebar.html
----------------------------------------------------------------------
diff --git a/app/addons/documents/templates/sidebar.html b/app/addons/documents/templates/sidebar.html
index 8d2ea4c..3965b14 100644
--- a/app/addons/documents/templates/sidebar.html
+++ b/app/addons/documents/templates/sidebar.html
@@ -23,7 +23,7 @@ the License.
       <div id="new-all-docs-button" class="add-dropdown"> </div>
    </li>
   <li>
-      <a id="design-docs" href='#<%= database.url("index") %>?startkey="_design"&endkey="_e"'
 class="toggle-view"> All Design Docs</a>
+      <a id="design-docs" href='#<%= database.url("index") %>?startkey="_design/"&endkey="_design0"'
 class="toggle-view"> All Design Docs</a>
       <div id="new-design-docs-button" class="add-dropdown"> </div>
     </li>
 </ul>


Mime
View raw message