Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E8CE1794C for ; Thu, 9 Oct 2014 18:48:15 +0000 (UTC) Received: (qmail 21171 invoked by uid 500); 9 Oct 2014 18:48:15 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 21118 invoked by uid 500); 9 Oct 2014 18:48:15 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 21109 invoked by uid 99); 9 Oct 2014 18:48:15 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2014 18:48:15 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id F2441890FC2; Thu, 9 Oct 2014 18:48:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rnewson@apache.org To: commits@couchdb.apache.org Message-Id: <4763240b26024c388647ff59106125af@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: chttpd commit: updated refs/heads/master to 57b87ce Date: Thu, 9 Oct 2014 18:48:14 +0000 (UTC) Repository: couchdb-chttpd Updated Branches: refs/heads/master b46d34c6d -> 57b87ce94 fix filtered replication Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/57b87ce9 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/57b87ce9 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/57b87ce9 Branch: refs/heads/master Commit: 57b87ce94e50a440d936caa476a5cb3b2ce8da9e Parents: b46d34c Author: Robert Newson Authored: Thu Oct 9 19:48:07 2014 +0100 Committer: Robert Newson Committed: Thu Oct 9 19:48:07 2014 +0100 ---------------------------------------------------------------------- src/chttpd_db.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/57b87ce9/src/chttpd_db.erl ---------------------------------------------------------------------- diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl index eec18be..cf5f1fa 100644 --- a/src/chttpd_db.erl +++ b/src/chttpd_db.erl @@ -59,7 +59,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:configure_filter(Raw, Style, Req, Db) + filter_fun = couch_changes:configure_filter(Raw, Style, Req, Db) }, case ChangesArgs#changes_args.feed of "normal" ->