couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [34/50] git commit: updated refs/heads/route-events to c33e390
Date Thu, 09 May 2013 14:01:31 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/53e51883
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/53e51883
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/53e51883

Branch: refs/heads/route-events
Commit: 53e518835f7e198173d9dc1b88becea863d74dfa
Parents: 5798aed
Author: Russell Branca <chewbranca@gmail.com>
Authored: Thu Apr 4 14:11:43 2013 -0700
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Thu May 9 09:59:57 2013 +0200

----------------------------------------------------------------------
 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/53e51883/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/53e51883/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