Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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.


Replies are listed 'Best First'.
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...


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://574774]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2017-07-28 03:30 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (424 votes). Check out past polls.