couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [1/2] couch commit: updated refs/heads/add-filter-revs-limit to 9c5b8b7
Date Mon, 12 Oct 2015 21:36:00 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/add-filter-revs-limit 6198f804c -> 9c5b8b7f4


Whitespace


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

Branch: refs/heads/add-filter-revs-limit
Commit: e8c489f7037840d05bb3e2475147a46732fc50e3
Parents: 6198f80
Author: Russell Branca <chewbranca@apache.org>
Authored: Mon Oct 12 21:29:12 2015 +0000
Committer: Russell Branca <chewbranca@apache.org>
Committed: Mon Oct 12 21:29:12 2015 +0000

----------------------------------------------------------------------
 src/couch_query_servers.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/e8c489f7/src/couch_query_servers.erl
----------------------------------------------------------------------
diff --git a/src/couch_query_servers.erl b/src/couch_query_servers.erl
index 632cb5c..d48b9df 100644
--- a/src/couch_query_servers.erl
+++ b/src/couch_query_servers.erl
@@ -309,10 +309,10 @@ filter_view(DDoc, VName, Docs) ->
 
 filter_docs(Req, Db, DDoc, FName, Docs) ->
     JsonReq = case Req of
-    {json_req, JsonObj} ->
-        JsonObj;
-    #httpd{} = HttpReq ->
-        couch_httpd_external:json_req_obj(HttpReq, Db)
+        {json_req, JsonObj} ->
+            JsonObj;
+        #httpd{} = HttpReq ->
+            couch_httpd_external:json_req_obj(HttpReq, Db)
     end,
     JsonDocs = [json_doc(Doc) || Doc <- Docs],
     [true, Passes] = ddoc_prompt(DDoc, [<<"filters">>, FName],


Mime
View raw message