couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1040603 - /couchdb/trunk/src/couchdb/couch_httpd_rewrite.erl
Date Tue, 30 Nov 2010 16:07:59 GMT
Author: fdmanana
Date: Tue Nov 30 16:07:58 2010
New Revision: 1040603

URL: http://svn.apache.org/viewvc?rev=1040603&view=rev
Log:
Missing cases for COUCHDB-949 (adding aliases start_key and end_key).

Modified:
    couchdb/trunk/src/couchdb/couch_httpd_rewrite.erl

Modified: couchdb/trunk/src/couchdb/couch_httpd_rewrite.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_httpd_rewrite.erl?rev=1040603&r1=1040602&r2=1040603&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_httpd_rewrite.erl (original)
+++ couchdb/trunk/src/couchdb/couch_httpd_rewrite.erl Tue Nov 30 16:07:58 2010
@@ -282,7 +282,9 @@ replace_var(Key, Value, Bindings) ->
             case Key of
                 <<"key">> -> to_json(Value);
                 <<"startkey">> -> to_json(Value);
+                <<"start_key">> -> to_json(Value);
                 <<"endkey">> -> to_json(Value);
+                <<"end_key">> -> to_json(Value);
                 _ ->
                     lists:flatten(?JSON_ENCODE(Value))
             end



Mime
View raw message