couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r753441 - /couchdb/branches/rep_security/src/couchdb/couch_httpd_show.erl
Date Fri, 13 Mar 2009 21:51:57 GMT
Author: jchris
Date: Fri Mar 13 21:51:56 2009
New Revision: 753441

URL: http://svn.apache.org/viewvc?rev=753441&view=rev
Log:
fix list_views with nil rev not []

Modified:
    couchdb/branches/rep_security/src/couchdb/couch_httpd_show.erl

Modified: couchdb/branches/rep_security/src/couchdb/couch_httpd_show.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/rep_security/src/couchdb/couch_httpd_show.erl?rev=753441&r1=753440&r2=753441&view=diff
==============================================================================
--- couchdb/branches/rep_security/src/couchdb/couch_httpd_show.erl (original)
+++ couchdb/branches/rep_security/src/couchdb/couch_httpd_show.erl Fri Mar 13 21:51:56 2009
@@ -67,7 +67,7 @@
 handle_view_list_req(#httpd{method='POST',
         path_parts=[_DbName, _Design, DesignName, _List, ListName, ViewName]}=Req, Db) ->
     DesignId = <<"_design/", DesignName/binary>>,
-    #doc{body={Props}} = couch_httpd_db:couch_doc_open(Db, DesignId, [], []),
+    #doc{body={Props}} = couch_httpd_db:couch_doc_open(Db, DesignId, nil, []),
     Lang = proplists:get_value(<<"language">>, Props, <<"javascript">>),
     ListSrc = get_nested_json_value({Props}, [<<"lists">>, ListName]),
     ReqBody = couch_httpd:body(Req),



Mime
View raw message