From dev-return-2932-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue Feb 24 22:42:24 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 39300 invoked from network); 24 Feb 2009 22:42:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Feb 2009 22:42:24 -0000 Received: (qmail 30809 invoked by uid 500); 24 Feb 2009 22:42:23 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 30772 invoked by uid 500); 24 Feb 2009 22:42:23 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 30761 invoked by uid 99); 24 Feb 2009 22:42:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 14:42:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2009 22:42:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DE7CA234C48C for ; Tue, 24 Feb 2009 14:42:01 -0800 (PST) Message-ID: <321754053.1235515321906.JavaMail.jira@brutus> Date: Tue, 24 Feb 2009 14:42:01 -0800 (PST) From: "Christopher Lenz (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Assigned: (COUCHDB-183) No pagination in Futon for reduce views MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Lenz reassigned COUCHDB-183: ---------------------------------------- Assignee: Christopher Lenz > No pagination in Futon for reduce views > --------------------------------------- > > Key: COUCHDB-183 > URL: https://issues.apache.org/jira/browse/COUCHDB-183 > Project: CouchDB > Issue Type: Bug > Components: Administration Console > Affects Versions: 0.9 > Reporter: Jason Davies > Assignee: Christopher Lenz > Priority: Blocker > Fix For: 0.9 > > Attachments: futon_reduce_pagination.2.diff, futon_reduce_pagination.diff > > > Futon doesn't support paginating of reduce views at the moment, which can be confusing for new users. This is due to the difficulty of efficiently working out the total number of rows available from a reduce view. > I propose displaying something like "Showing x-y rows of unknown" at the bottom, and showing a next/previous link if there are more results to be displayed. An efficient way to calculate whether there are next/previous results would be to fetch 1 + rows_per_page + 1 (with appropriate offset parameter etc.) > I did start working on a patch - will post it here when it is done. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.