[ 
https://issues.apache.org/jira/browse/COUCHDB-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664954#comment-13664954
 ] 

Alexander Shorin commented on COUCHDB-1804:
-------------------------------------------

Works for me for 1.3.0 release and current master HEAD:

{code}
{
   "_id": "_design/test",
   "_rev": "2-0ac6a92f94b4cf21964031116ffd0a40",
   "language": "javascript",
   "views": {
       "test": {
           "map": "function(doc) {\n  emit(doc._id, doc._rev);\n}"
       }
   },
   "options": {
       "include_design": true
   }
}
{code}

This ddoc view emits results for ddocs like for any other docs.
                
> include_design options not working anymore in v1.3
> --------------------------------------------------
>
>                 Key: COUCHDB-1804
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1804
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>            Reporter: Andi Noviandi
>
> "include_design" : true, that enable view to access design document is no 
> longer working. 
> I have use this options in couchdb 1.2 and its running well, but after 
> upgrade to 1.3 seems the view not accessing design doc anymore?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to