6.0.0-beta1
7/30/25

[#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 06/14/2006 (6986 days ago)
Due
Updated 06/16/2006 (6984 days ago)
Assigned
Resolved 06/16/2006 (6984 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/16/2006 03:45:29 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in CVS. Slower, but correct.
06/14/2006 10:26:04 PM 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