Welcome Guest, Not a member yet? Register   Sign In
Pagination, offset issue
#7

[eluser]mcr_rm[/eluser]
[quote author="1cookie1" date="1263481752"]
I'm glad you point that out! I may never have thought of it that way if you hadn't! :-)
[/quote]


No Need for the sarcasm, what I was trying to say (poorly) was exactly what you are saying. Firstly CI pagination class passes the offset in the uri not a page number i.e. multples of your per page rather than the 1/2/3/4.

So to be clear the 1/2/3/4 was never working properly with the class links?

You seem to have it now but didn't before and I was confused at how you got anything working properly with that code.

Essentially forget the multiple rubbish and simply pass in the uri segment with the offset to your db query via a model or whatever is doing the db call.


Messages In This Thread
Pagination, offset issue - by El Forum - 01-12-2010, 04:48 AM
Pagination, offset issue - by El Forum - 01-13-2010, 08:16 AM
Pagination, offset issue - by El Forum - 01-13-2010, 11:15 AM
Pagination, offset issue - by El Forum - 01-13-2010, 04:09 PM
Pagination, offset issue - by El Forum - 01-13-2010, 07:15 PM
Pagination, offset issue - by El Forum - 01-14-2010, 03:09 AM
Pagination, offset issue - by El Forum - 01-14-2010, 04:47 AM
Pagination, offset issue - by El Forum - 01-14-2010, 05:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB