You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Chris Anderson (JIRA)" <ji...@apache.org> on 2009/02/02 21:27:59 UTC
[jira] Closed: (COUCHDB-233) add the current line number of
displayed row in lists
[ https://issues.apache.org/jira/browse/COUCHDB-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Anderson closed COUCHDB-233.
----------------------------------
Resolution: Fixed
applied in r740094
> add the current line number of displayed row in lists
> -------------------------------------------------------
>
> Key: COUCHDB-233
> URL: https://issues.apache.org/jira/browse/COUCHDB-233
> Project: CouchDB
> Issue Type: New Feature
> Components: JavaScript View Server
> Affects Versions: 0.9
> Reporter: Benoit Chesneau
> Fix For: 0.9
>
> Attachments: couchdb-lists-linenumber.diff, couchdb-lists-linenumber.diff, couchdb-lists-linenumber.diff
>
>
> This patch add the current line number of displayed row in lists. lists functions have a new row number arguments that could be used. In head row number is null, in tail it's null if there isn't any rows or number of last row. This patch will allow us to make pagination in lists without use of ajax.
> Lists function are with this patch defined like this :
> function(head, row, req, nbrow) {
> }
> where nbrow is the row line numbere. This patch only affect view server by modifying main.js and tests to "lists" test that test presence of line number and if line number is on the right position.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.