diff options
author | Jan Lehnardt <jan@apache.org> | 2010-11-14 23:16:35 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2010-11-14 23:16:35 +0000 |
commit | 856d5b1ed17ad621543c2ef0d6d369dee9f206b0 (patch) | |
tree | 0c683be940d314731cfec59f3b6682e72208ec33 /src/couchdb | |
parent | 341a4fc4f95b81c2c948666308e2856f8060f300 (diff) |
Allow reduce=false parameter in map-only views.
Patch by Jason Smith.
Closes COUCHDB-881.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1035098 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_httpd_view.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_httpd_view.erl b/src/couchdb/couch_httpd_view.erl index e1a0dfad..cb387d1b 100644 --- a/src/couchdb/couch_httpd_view.erl +++ b/src/couchdb/couch_httpd_view.erl @@ -365,6 +365,8 @@ validate_view_query(group_level, Value, Args) -> end; validate_view_query(inclusive_end, Value, Args) -> Args#view_query_args{inclusive_end=Value}; +validate_view_query(reduce, false, Args) -> + Args; validate_view_query(reduce, _, Args) -> case Args#view_query_args.view_type of map -> |