summaryrefslogtreecommitdiff
path: root/src/couchdb
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb')
-rw-r--r--src/couchdb/couch_httpd_view.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_httpd_view.erl b/src/couchdb/couch_httpd_view.erl
index 79f275c9..de184de9 100644
--- a/src/couchdb/couch_httpd_view.erl
+++ b/src/couchdb/couch_httpd_view.erl
@@ -254,6 +254,8 @@ parse_view_query(Req, Keys, IsReduce) ->
Msg = io_lib:format("Bad URL query value, number expected: limit=~s", [Value]),
throw({query_parse_error, Msg})
end;
+ {"count", Value} ->
+ throw({query_parse_error, "URL query parameter 'count' has been changed to 'limit'."});
{"update", "false"} ->
Args#view_query_args{update=false};
{"descending", "true"} ->