[Catalyst] Pagenav?

Nilson Santos Figueiredo Junior acid06 at gmail.com
Sat Feb 10 02:57:52 GMT 2007


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

-Nilson Santos F. Jr.



More information about the Catalyst mailing list