couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [1/2] chttpd commit: updated refs/heads/1993-bigcouch-couch-mrview to 5ba4717
Date Tue, 25 Mar 2014 23:38:51 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/1993-bigcouch-couch-mrview 19020f984 -> 5ba4717a7


Use couch_mrview_show:list_cb for chttpd list functions


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

Branch: refs/heads/1993-bigcouch-couch-mrview
Commit: 4cf17425fe7ca5f8e06baac38ad14ea1ff333829
Parents: 19020f9
Author: Russell Branca <chewbranca@gmail.com>
Authored: Tue Mar 25 16:05:59 2014 -0700
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Tue Mar 25 16:05:59 2014 -0700

----------------------------------------------------------------------
 src/chttpd_show.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/4cf17425/src/chttpd_show.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_show.erl b/src/chttpd_show.erl
index 3996a7a..3c58d8e 100644
--- a/src/chttpd_show.erl
+++ b/src/chttpd_show.erl
@@ -192,7 +192,7 @@ handle_view_list(Req, Db, DDoc, LName, {ViewDesignName, ViewName}, Keys)
->
     %% Will throw an exception if the _list handler is missing
     couch_util:get_nested_json_value(DDoc#doc.body, [<<"lists">>, LName]),
     {ok, VDoc} = ddoc_cache:open(Db#db.name, <<"_design/", ViewDesignName/binary>>),
-    CB = fun list_callback/2,
+    CB = fun couch_mrview_show:list_cb/2,
     Etag = couch_uuids:new(),
     QueryArgs = couch_mrview_http:parse_params(Req, Keys),
     chttpd:etag_respond(Req, Etag, fun() ->


Mime
View raw message