CodeIgniter Forums

Full Version: Pagination fails with few records - Bug?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]woracal[/eluser]
Pagination seems to fail with a smaller resultset. If the num. of records are around 20 the <First Last> links don't show. Is this a known bug? Appreciate some help.... i really need to get this thing fixed..

El Forum

[eluser]marcoss[/eluser]
That's a feature, not a bug.

It is pointless to have a first/last buttons when you have just 3 pages to show.

Code:
First | < | 1 | 2 | 3 | > | Last :S

What would be the point in here? Anyone would be able to tell you which is the first and last page in there.

In order to use those links, you need more pages,

Code:
First | < | ... | 5 | 6 | 7 | ... | > | Last