Affects Version/s: None
Fix Version/s: None
Component/s: Database Core
Skill Level:Regular Contributors Level (Easy to Medium)
With the latest version of CouchDB the URL parameters are not 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",
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 values from rewrites.json are always used. Once the limit entry gets removed from that file, the URL parameter is used and 10 rows are displayed.
As proposed by Benoit query entries should be explicitly allowed to have a default value. Otherwise the value from rewrites.json has the priority.
Can true be used instead of a number? It could be confusing this way, especially when the value is also a number.