couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Bisbee (Closed) (JIRA)" <>
Subject [jira] [Closed] (COUCHDB-140) "total_rows" is not set when a reduce function is specified
Date Wed, 22 Feb 2012 04:08:53 GMT


Sam Bisbee closed COUCHDB-140.

Resolved for a while. Closing.
> "total_rows" is not set when a reduce function is specified
> -----------------------------------------------------------
>                 Key: COUCHDB-140
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 0.9
>         Environment: Debian
>            Reporter: Jason Davies
>             Fix For: 0.9
>         Attachments: couch_tests.js.diff
> I first noticed this when using Futon: one of my views only displayed 10 rows in Futon,
with no "next" button, as it thought there were only 10 rows in total.  In fact there were
63, but after some debugging I found that the problem was that the view was not setting "total_rows"
in the JSON response, whenever a reduce function was in use.
> See attached test case.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message