Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
GetDiscussionCount in DiscussionManager
a bit technical question here:
why does the Vanilla Discussion Manager (library/Vanilla/Vanilla.Class.DiscussionManager.php) gets the count of discussions in GetDiscussionCount (line 223-226) from a selected 'count' field and not from the function Context->Database->RowCount() ?
because I'm grouping by DiscussionID, and the discussion list is grouped, but the discussion count is not.
thanks for any insight
0
This discussion has been closed.
Comments
The Discussion Filters extension shows some good examples of how you can attach a single function to both delegates if you are trying to prune down the number of results