Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: DBIx::Class Pagination troubles

by castaway (Parson)
on Sep 25, 2006 at 16:10 UTC ( #574774=note: print w/ replies, xml ) Need Help??


in reply to DBIx::Class Pagination troubles

Try turning on the sql debugging: DBIC_TRACE=1 in your environment.. Also, why not just pass the entire pager to TT, rather than extracting some data then passing the rest?

That code looks ok to me, but I haven't tried it directly, without using the pager at all.

C.


Comment on Re: DBIx::Class Pagination troubles
Re^2: DBIx::Class Pagination troubles
by stonecolddevin (Vicar) on Sep 25, 2006 at 17:05 UTC

    I'm not sure what you mean by pass the entire pager to H::T, but I think you mean the pager object? I've tried this, and it spewed an error, something along the lines of "can not paginiate unpaged object" or something to that effect...

    meh.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://574774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-11-01 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (229 votes), past polls