We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Pagination on category pages displaying incorrect number of pages

Development and Programming

pippindesign's avatar
pippindesign
1 posts
16 years ago
pippindesign's avatar pippindesign

Hello,

I have set up Structure and am extremely satisfied with its functionality. However, in trying to set up individual category listing pages, I have found the pagination tag to incorrectly display the number of pages. While the weblog tag outputs the correct number of entries with category=”X”, the pagination tag outputs the number of pages there would be without a category defined.

For example, the weblog “job-listings” has 300 entries, which = approx. 30 pages with limit=”10”. The category “USA” has only 4 listings, which display correctly using category=”1” However, the pagination on the USA category page yields “Page 1 of 30” and has NEXT links to 29 blank pages.

I am not sure if I have set up something incorrectly, am trying something the pagination function cannot handle, or if I have uncovered a bug.

Any help would be appreciated.

       
Terralemon's avatar
Terralemon
14 posts
15 years ago
Terralemon's avatar Terralemon

Hi pippindesign,

did you already find a solution for this problem? I have the exact same thing here.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.