summaryrefslogtreecommitdiff
path: root/apps/chttpd
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-09-06 18:10:16 -0700
committerAdam Kocoloski <adam@cloudant.com>2010-09-06 22:36:45 -0700
commitb8b2a9de28f4e74864f69e7681088d871e71820f (patch)
tree00f2a686de5b17f52b6004f6b3fb17073073680e /apps/chttpd
parenta55c40ce30d5279df93b5c475cc6718575a1e192 (diff)
support for filtered _changes on multi-node clusters, closes #5
Diffstat (limited to 'apps/chttpd')
-rw-r--r--apps/chttpd/src/chttpd_db.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/chttpd/src/chttpd_db.erl b/apps/chttpd/src/chttpd_db.erl
index 29571c9f..fc219621 100644
--- a/apps/chttpd/src/chttpd_db.erl
+++ b/apps/chttpd/src/chttpd_db.erl
@@ -50,7 +50,7 @@ handle_request(#httpd{path_parts=[DbName|RestParts],method=Method,
handle_changes_req(#httpd{method='GET'}=Req, Db) ->
#changes_args{filter=Raw, style=Style} = Args0 = parse_changes_query(Req),
ChangesArgs = Args0#changes_args{
- filter = couch_changes:make_filter_fun(Raw, Style, Req, Db)
+ filter = couch_changes:configure_filter(Raw, Style, Req, Db)
},
case ChangesArgs#changes_args.feed of
"normal" ->