Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: DBIx::Class Pagination troubles

by castaway (Parson)
on Sep 25, 2006 at 16:10 UTC ( [id://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.

Replies are listed 'Best First'.
Re^2: DBIx::Class Pagination troubles
by stonecolddevin (Parson) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://574774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-24 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found