summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb/couch_httpd.erl')
-rw-r--r--src/couchdb/couch_httpd.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl
index 1d8c6648..6ae51411 100644
--- a/src/couchdb/couch_httpd.erl
+++ b/src/couchdb/couch_httpd.erl
@@ -653,6 +653,8 @@ parse_view_query(Req) ->
Args#view_query_args{start_key=JsonKey,end_key=JsonKey};
{"startkey_docid", DocId} ->
Args#view_query_args{start_docid=DocId};
+ {"endkey_docid", DocId} ->
+ Args#view_query_args{end_docid=DocId};
{"startkey", Value} ->
Args#view_query_args{start_key=cjson:decode(Value)};
{"endkey", Value} ->