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 /share/server | |
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 'share/server')
-rw-r--r-- | share/server/filter.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/share/server/filter.js b/share/server/filter.js index 8ba77e64..1e8556a4 100644 --- a/share/server/filter.js +++ b/share/server/filter.js @@ -15,9 +15,8 @@ var Filter = { var results = []; var docs = args[0]; var req = args[1]; - var userCtx = args[2]; for (var i=0; i < docs.length; i++) { - results.push((fun.apply(ddoc, [docs[i], req, userCtx]) && true) || false); + results.push((fun.apply(ddoc, [docs[i], req]) && true) || false); }; respond([true, results]); } |