Created
February 19, 2013 18:27
-
-
Save rnewson/4988492 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl | |
index 4b345da..5d5db07 100644 | |
--- a/src/couchdb/couch_httpd_db.erl | |
+++ b/src/couchdb/couch_httpd_db.erl | |
@@ -1073,6 +1073,9 @@ parse_doc_query(Req) -> | |
{"meta", "true"} -> | |
Options = [revs_info, conflicts, deleted_conflicts | Args#doc_query_args.options], | |
Args#doc_query_args{options=Options}; | |
+ {"deleted", "true"} -> | |
+ Options = [deleted | Args#doc_query_args.options], | |
+ Args#doc_query_args{options=Options}; | |
{"revs", "true"} -> | |
Options = [revs | Args#doc_query_args.options], | |
Args#doc_query_args{options=Options}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment