couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-233) add the current line number of displayed row in lists
Date Mon, 02 Feb 2009 14:15:59 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benoit Chesneau updated COUCHDB-233:
------------------------------------

    Attachment: couchdb-lists-linenumber.diff

rename nbrow -> row_number as per suggestion of jan___ on irc.

removed local_dev change from the diff.

>  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
>
>
> 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.


Mime
View raw message