On Sep 12, 2010, at 12:35 AM, Henrik Skupin wrote: > Hi, > > During this week while being at Couchcamp I have already talked to Chris and > we decided to follow-up on the topic in the mailing list. >
I'm seeing this behavior also, and agree it should be fixed. Do you mind filing a bug report for it? http://issues.apache.org/jira/browse/COUCHDB At CouchCamp I said I thought this was working, but it's not working in the places I've checked, so I think it needs fixing. Chris > With the latest version of CouchDB the URL parameters don't seem be taken > into account when the rewrites.json file specifies the same ones for the > appropriate entry. See the following example: > > { > "from" : "/general/reports", > "to" : "_list/general_reports/general_reportsByDate", > "query" : { > "descending" : true, > "limit" : 51 > } > } > > default values: http://mozmill.hskupin.info/general/reports > custom values: http://mozmill.hskupin.info/general/reports?limit=10 > > Whether which URL you are loading, the default values are always used. Once > the limit entry gets removed from the rewrites.json file, the URL parameter > is used and 10 rows are displayed. > > IMO the values specified in rewrites.json should really be default ones and > should not override user defined values. > > Henrik
