diff options
author | Jan Lehnardt <jan@apache.org> | 2008-05-15 11:44:37 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2008-05-15 11:44:37 +0000 |
commit | 41eeac05bff1b0a8b05f1110270c0beecd62991a (patch) | |
tree | 44c3df897d2f4e52d087e04236d1d2e7fab5f6b4 /src/couchdb/couch_httpd.erl | |
parent | 0816508c89c1d4fc851c1824cf8c78fe2519be67 (diff) |
ignore descending=false option instead of throwing an error.
includes a test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@656589 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd.erl')
-rw-r--r-- | src/couchdb/couch_httpd.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index 52aa1507..11a380e9 100644 --- a/src/couchdb/couch_httpd.erl +++ b/src/couchdb/couch_httpd.erl @@ -599,6 +599,9 @@ parse_view_query(Req) -> _ -> Args %already reversed end; + {"descending", "false"} -> + % ignore + Args; {"skip", Value} -> case (catch list_to_integer(Value)) of Count when is_integer(Count) -> |