Opened 13 years ago
Closed 12 years ago
#3870 closed defect (bug) (fixed)
Page numbers in forum are incorrect
Reported by: | fanquake | Owned by: | |
---|---|---|---|
Milestone: | BuddyPress.org Sites | Priority: | normal |
Severity: | normal | Version: | |
Component: | BuddyPress.org Sites | Keywords: | |
Cc: |
Description
In the Bp.org forums, when viewing the forum of a group, the buttons that are used to skip forum pages, ie go from page 1 to page 3, display incorrect numbers. The "Viewing topic xxx to xxx (of xxx total topics)" is also incorrect.
For example, when viewing the http://buddypress.org/community/groups/bp-album/forum/ Bp-Album forums ( screenshot is attached ). You see that there is the option to skip to page "22", which you think would be the earliest page in the forum. However when you click on that page, you are greeted with a "Sorry, there were no forum topics found." It turns out that the last page containing forum topics is actually page 18.
This issue also means that the "viewing topic xxx to xxx (of xxx total topics)" is incorrect, because in the bp-album case, there are only 360 topics, not 431 as the pages states.
Odd. It must be counting those topics from somewhere. The number of topic pages has increased from 18 to 19:
http://buddypress.org/community/groups/bp-album/forum/?p=19&n=20 works
http://buddypress.org/community/groups/bp-album/forum/?p=20&n=20 does not work
Will take some investigation to see where this is coming from.