• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pagination suffix issue

#1
I came across what I believe to be an issue with Pagination, and there is a relevant thread, archived here http://forum.codeigniter.com/thread-5080...ion+suffix

This says it is working as intended, but I don't believe that to be true in my case.

For me, I am using a suffix for additional routing control, to filter various results in my method, lets says Books and Tapes.

Now, by default, my Controller fetches both Books and Tapes, paginated.

But if I add an extra URI segment, says Books, I will only get paginate results for Books.

Head to page X of Books, via the links, and all is OK, using the Suffix config.

BUT, if I use the pagination links generated by CI, to head back to page 1 of books, it loses the suffix and I get both Books and Tapes - Not what I want to happen!

So, is there a way to add the suffix to the first link?
Reply

#2
Bump?
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.