summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-06-09 16:37:22 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-12 11:18:44 -0400
commite7183bfda1bd88baec05f3461b42a098641c1f2d (patch)
tree7025cbe7a2ae239771d07f364aba4828ca7428cf
parent056d208ad378fbb1416e79db317ed89d07bf2af6 (diff)
allow _all_docs with keys, too
-rw-r--r--src/chttpd_view.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chttpd_view.erl b/src/chttpd_view.erl
index c9fb1c9f..b222246a 100644
--- a/src/chttpd_view.erl
+++ b/src/chttpd_view.erl
@@ -273,7 +273,8 @@ parse_view_params(Req, Keys, ViewType) ->
end,
Args = #view_query_args{
view_type=ViewType,
- multi_get=IsMultiGet
+ multi_get=IsMultiGet,
+ keys=Keys
},
QueryArgs = lists:foldl(fun({K, V}, Args2) ->
validate_view_query(K, V, Args2)