[Catalyst] Pagenav?
Bernhard Janetzki
bernhard at janetzki.eu
Sat Feb 10 15:39:11 GMT 2007
----- Original Message -----
From: Nilson Santos Figueiredo Junior <acid06 at gmail.com>
To: The elegant MVC web framework <catalyst at lists.rawmode.org>
Sent: Saturday, February 10, 2007 3:57:52 AM GMT+0100 Europe/Berlin
Subject: Re: [Catalyst] Pagenav?
On 2/9/07, Jonathan Rockway <jon at jrock.us> wrote:
>> $rs = $c->model('DBIC')->search->whatever;
>> I'd advise you against calling whatever() and limiting yourself to the
>> first search() call if you're planning on using DBIC's built-in pager
>> for this resultset. As of 0.07005, multiple search()es over the same
>> resultset can break paging in weird ways (usually, it ends up
>> generating wrong LIMIT offsets).
Thank you very much guys!
Greets Boerni
More information about the Catalyst
mailing list