6.0.0-RC7
6/27/26

[#4042] Agora_Messages::countThreads returns wrong value
Summary Agora_Messages::countThreads returns wrong value
Queue Agora
Type Bug
State Resolved
Priority 2. Medium
Owners
Requester dorm (at) dorm (dot) org
Created 6/14/06 (7318 days ago)
Due
Updated 6/16/06 (7316 days ago)
Assigned
Resolved 6/16/06 (7316 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
293 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS. Slower, but correct.
410 dorm (at) dorm (dot) org Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Agora_Messages::countThreads returns wrong value
Queue ⇒ Agora
Reply to this comment
The countThreads() function in the Agora_Messages class returns the 
wrong value.  Instead of returning the number of different threads in 
a forum, it returns the total value of all messages in all threads in 
the forum, which is incorrect.



As a result, on the threads list page, the hordge pager at the bottom 
makes it appear that there are several more pages of the threads list 
than there actually is.


Saved Queries