Index: src/couchdb/couch_httpd_view.erl =================================================================== --- src/couchdb/couch_httpd_view.erl (revision 729650) +++ src/couchdb/couch_httpd_view.erl (working copy) @@ -29,6 +29,12 @@ DesignId = <<"_design/", Id/binary>>, case couch_view:get_map_view(Db, DesignId, ViewName, Update) of {ok, View} -> + case QueryArgs#view_query_args.group_level in + 0 -> + ?LOG_INFO("Ignoring grouping for non-reduce view ~p", [Req]); + _ -> + ok + end; output_map_view(Req, View, Db, QueryArgs, Keys); {not_found, Reason} -> case couch_view:get_reduce_view(Db, DesignId, ViewName, Update) of @@ -71,6 +77,12 @@ Keys = proplists:get_value(<<"keys">>, Props, nil), case proplists:get_value(<<"reduce">>, Props, null) of null -> + case QueryArgs#view_query_args.group_level in + 0 -> + ?LOG_INFO("Ignoring grouping for non-reduce view ~p", [Req]); + _ -> + ok + end; {ok, View} = couch_view:get_temp_map_view(Db, Language, MapSrc), output_map_view(Req, View, Db, QueryArgs, Keys); RedSrc ->