[albatross-users] pagination question
Dan Bergan
danb at champonline.com
Wed Apr 2 00:26:52 EST 2003
I have a strange problem with pagination. I saw a posting from a couple
months ago for a similar question, but I didn't see an solution.
Here's the behavior that I'm seeing.
I have categories that each contain multiple items. When I click on a
category, it shows me the items, and I have pagination set at 8 items.
At first glance, it seemed that everything was working perfectly. When
I click on a category with more than 8 items, the "next page" link shows
up, and I can move to the next 8 items. Then my "previous page" link
shows up and that works correctly as well. If I click on a category
with fewer than 8 items, then there is no "next page" or "previous page"
link, as I would expect.
The problem shows up when I first click on a category with more than 8
items. Then I click on my "next page" link. (So, I'm looking at items
9 - 16). Then I use my browsers "Back" button to return my category
listing page. If I now choose a different category, then the items that
show up will be items 9 - 16 (not items 1 - 8 as I would expect). And,
if that category has fewer than 8 items, it will show me a blank page
with only a "previous page" link.
Do I have to do something to reset my list iterator? Am I forgetting to
do something to make it start at the beginning of the list?
Thanks,
Dan Bergan
More information about the Albatross-users
mailing list