diff options
author | John Christopher Anderson <jchris@apache.org> | 2010-04-22 15:08:08 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2010-04-22 15:08:08 +0000 |
commit | 3143d4eba8b40b33c3dbe5897d6fdb7ec7377f71 (patch) | |
tree | 976dba9dbe5f555f60eb77cf0f52e63242232608 /src/couchdb | |
parent | 5c758e7f2ca47b1285d08f170b5105b618fb956e (diff) |
fix erlang filter funs and normalize filter fun api. thanks fdmanana. closes COUCHDB-740
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@936889 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_query_servers.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/couchdb/couch_query_servers.erl b/src/couchdb/couch_query_servers.erl index cb760a10..cfed30b9 100644 --- a/src/couchdb/couch_query_servers.erl +++ b/src/couchdb/couch_query_servers.erl @@ -208,8 +208,7 @@ filter_docs(Req, Db, DDoc, FName, Docs) -> couch_httpd_external:json_req_obj(HttpReq, Db) end, JsonDocs = [couch_doc:to_json_obj(Doc, [revs]) || Doc <- Docs], - JsonCtx = couch_util:json_user_ctx(Db), - [true, Passes] = ddoc_prompt(DDoc, [<<"filters">>, FName], [JsonDocs, JsonReq, JsonCtx]), + [true, Passes] = ddoc_prompt(DDoc, [<<"filters">>, FName], [JsonDocs, JsonReq]), {ok, Passes}. ddoc_proc_prompt({Proc, DDocId}, FunPath, Args) -> |