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.

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

Reply via email to