couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [2/4] git commit: updated refs/heads/master to 200eccd
Date Fri, 05 Apr 2013 00:15:32 GMT
s/\(start\|end\)_key/\1key/g


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

Branch: refs/heads/master
Commit: ea166c32cd9e99c1a156722a51b5508b590bd76d
Parents: d4e4b08
Author: Russell Branca <chewbranca@gmail.com>
Authored: Thu Apr 4 14:11:43 2013 -0700
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Thu Apr 4 17:15:26 2013 -0700

----------------------------------------------------------------------
 src/fauxton/app/modules/documents/views.js       |    2 +-
 src/fauxton/app/templates/documents/sidebar.html |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/ea166c32/src/fauxton/app/modules/documents/views.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js
index 6f370cc..558f0c1 100644
--- a/src/fauxton/app/modules/documents/views.js
+++ b/src/fauxton/app/modules/documents/views.js
@@ -94,7 +94,7 @@ function(app, FauxtonAPI, Codemirror, JSHint) {
         url += viewname[0] + "/_view/" + viewname[1];
         if (searchbox.val() !== ""){
           // TODO: this'll need to work when val() is a number etc.
-          url += '?start_key="' + searchbox.val() + '"';
+          url += '?startkey="' + searchbox.val() + '"';
         }
         FauxtonAPI.navigate(url);
       });

http://git-wip-us.apache.org/repos/asf/couchdb/blob/ea166c32/src/fauxton/app/templates/documents/sidebar.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/templates/documents/sidebar.html b/src/fauxton/app/templates/documents/sidebar.html
index 7a0ecdf..40daec8 100644
--- a/src/fauxton/app/templates/documents/sidebar.html
+++ b/src/fauxton/app/templates/documents/sidebar.html
@@ -20,7 +20,7 @@ the License.
   <hr>
   <ul class="nav nav-list">
     <li class="active"><a id="all-docs" href="#<%= database.url('index') %>?limit=100"
class="toggle-view"><i class="icon-list"></i> All documents</a></li>
-    <li><a id="design-docs" href='#<%= database.url("index") %>?limit=100&start_key="_design"&end_key="_e"'
 class="toggle-view"><i class="icon-list"></i> All design docs</a></li>
+    <li><a id="design-docs" href='#<%= database.url("index") %>?limit=100&startkey="_design"&endkey="_e"'
 class="toggle-view"><i class="icon-list"></i> All design docs</a></li>
   </ul>
   <ul class="nav nav-list views">
     <li class="nav-header">Secondary Indexes</li>


Mime
View raw message