Ok thanks, I see that now.
I took a look at the code and have noticed a few things.
-
There are two columns in the
tagstable that can influence the tag count:topic_countandpm_topic_count. These counts are incremented/decremented on tag application/removal. Non-admin users only ever see the value oftopic_count. -
There is a consistency job that runs every 12 hours that will update the tag counts so that they do not include deleted topics.
-
There is nothing to adjust the count on the fly based on a user’s individual topic access.
Based on what I’m seeing, we don’t have a bug, just a limitation based on the current implementation. I think everything that has been talked about here falls under the “feature request” banner and can be summarized as:
Make tag counts on the tags page dynamic so that they reflect what a user will actually see when they navigate to the tag’s topic list.