Roger Demetrescu wrote:
> Hi Toshio
> 
> 
> On Dec 12, 2007 5:59 PM, Toshio Kuratomi <[EMAIL PROTECTED]> wrote:
>> * I have some URLs that I want to return paginated data for when a user
>> views it as HTML but want to return the entire list of data when a
>> script requests JSON data.  Currently there isn't a way to specify that
>> paginate should return all the data.
> 
> 
> You will use dynamic_limit, right ?
> 
dynamic_limit would work for my json usage since I can check tg_format
within my controller method.  However, there still wouldn't be a way for
the end user to specify they want all the data available shown on a
single page from within the paginate framework since the tg_paginate
variables aren't available to the end user.  So this solves some other
usability issues that users bring up from time to time.

> 
> Would you please open a ticket and attach your patch ?
> (your patch is simple, but our policy is "try to never fix a bug
> without a related ticket, so we
> can reference it in changelog"...   ;)
> 
Done::
  http://trac.turbogears.org/ticket/1629

-Toshio

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to