I've found this:
But I think that's correct this way, right?
I have a category "Hafen" on my forum mtgm.ru and the counter says it's only 3 topics in there, but i also have a category histories which is subcategory of subcategory of hafen. And looks like nodebb doesn't see the connection between those two. The "last comment" section doesn't work with this subcategory too.
@leksar I think the topic/post counter only includes first level of subcategories.
@pichalite well, obviously. And it's just wrong if you ask me. Let's look another example
This is subcategory of main category. The counter says there is no topics, but it has a subcategory with 3 topic in there. So that counter is not working too. As a result, we went to the forum and see that it's empty even if we open category. In fact there are a lot of topics and posts. Is it right ? I don't think so.
What version are you running?
@a_5mith ubuntu 14.04 nodebb 0.7.2 redis 3:3.0.1-1chl1~trusty1
Yeah the calculation doesn't work for subcategories, one reason is we don't have a recursive function to get all children and calculate the counts also we don't have a list of children category ids per category so without adding that this is difficult to achieve.