Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

75%
+4 −0
Q&A Mismatch between tags list and number of posts for a given tag

Sometimes the number of posts indicated in the tags list does not match the number of posts displayed for that tag. This appears to be due to the inclusion of deleted posts in the displayed number....

1 answer  ·  posted 3y ago by trichoplax‭  ·  last activity 3y ago by deleted user

Question bug
#3: Post edited by user avatar trichoplax‭ · 2021-04-19T20:18:36Z (almost 3 years ago)
Minor clarification
  • Sometimes the number of posts indicated in the tags list does not match the number of posts displayed for that tag. This appears to be due to the inclusion of deleted posts in the displayed number. Would it be more helpful to exclude deleted posts so that the numbers match (long term - putting aside caching effects)?
  • ## An example from Code Golf
  • The "math" tag shows 5 posts but clicking on it lists only 3 posts.
  • ![Tags list showing math tag has 5 posts](https://meta.codidact.com/uploads/ZoraQXHfp3X34t36d7twPJRH "The math tag has 5 posts")
  • ![Posts list for math tag showing only 3 posts](https://meta.codidact.com/uploads/grxTcRiqCCredLguC1GEfVq8 "Only 3 posts are listed for the math tag")
  • ## An example from Writing
  • Here the example images are shown first from the "Q&A" section and then from the "Challenges" section. The results are the same posts each time (each post being labelled as Q&A or Challenges depending on what list it is showing in, rather than depending on its genuine category). This is mentioned in existing bug https://github.com/codidact/qpixel/issues/249
  • This shows that the discrepancy is not due to the existence of other category types.
  • Moshi points out in a comment that deleted posts are included in the number shown next to each tag, so this probably explains it.
  • ### Q&A
  • Under "Q&A" The "mobile" tag shows 3 posts but clicking on it lists only 2 Q&A posts.
  • ![Q&A tags list showing mobile tag has 3 posts](https://meta.codidact.com/uploads/e8rDHaf1ZNVcDrfsqVefJ4qk "The Q&A mobile tag has 3 posts")
  • ![Q&A posts list for mobile tag showing only 2 posts](https://meta.codidact.com/uploads/CKgGZcU5FL5TTGTmmFMKSEoi "Only 2 Q&A posts are listed for the mobile tag")
  • ### Challenges
  • Under "Challenges" The "mobile" tag shows 3 posts but clicking on it lists only 2 Challenges posts.
  • ![Challenges tags list showing mobile tag has 3 posts](https://meta.codidact.com/uploads/nVQkvfG42AXJuCwg9rQFtw3f "The Challenges mobile tag has 3 posts")
  • ![Challenges posts list for mobile tag showing only 2 posts](https://meta.codidact.com/uploads/aXH2Ap7xjh7QFdoLjr5GZvWr "Only 2 Challenges posts are listed for the mobile tag")
  • Sometimes the number of posts indicated in the tags list does not match the number of posts displayed for that tag. This appears to be due to the inclusion of deleted posts in the displayed number. Would it be more helpful to exclude deleted posts so that the numbers match (long term - putting aside caching effects)?
  • ## An example from Code Golf
  • The "math" tag shows 5 posts but clicking on it lists only 3 posts.
  • ![Tags list showing math tag has 5 posts](https://meta.codidact.com/uploads/ZoraQXHfp3X34t36d7twPJRH "The math tag has 5 posts")
  • ![Posts list for math tag showing only 3 posts](https://meta.codidact.com/uploads/grxTcRiqCCredLguC1GEfVq8 "Only 3 posts are listed for the math tag")
  • ## An example from Writing
  • Here the example images are shown first from the "Q&A" section and then from the "Challenges" section. The results are the same posts each time (each post being labelled as Q&A or Challenges depending on what list it is showing in, rather than depending on its genuine category). This is mentioned in existing bug https://github.com/codidact/qpixel/issues/249
  • This shows that the discrepancy is not due to the existence of other category types.
  • Moshi points out in a comment that deleted posts are included in the number shown next to each tag, so this probably explains it.
  • ### Q&A
  • Under "Q&A" The "mobile" tag shows 3 posts but clicking on it lists only 2 Q&A posts.
  • ![Q&A tags list showing mobile tag has 3 posts](https://meta.codidact.com/uploads/e8rDHaf1ZNVcDrfsqVefJ4qk "The Q&A mobile tag has 3 posts")
  • ![Q&A posts list for mobile tag showing only 2 posts](https://meta.codidact.com/uploads/CKgGZcU5FL5TTGTmmFMKSEoi "Only 2 Q&A posts are listed for the mobile tag")
  • ### Challenges
  • Under "Challenges" The "mobile" tag shows 3 posts but clicking on it lists only 2 Challenges posts. As mentioned, these are the exact same 2 posts shown under Q&A, so they are each mislabelled in one of these lists.
  • ![Challenges tags list showing mobile tag has 3 posts](https://meta.codidact.com/uploads/nVQkvfG42AXJuCwg9rQFtw3f "The Challenges mobile tag has 3 posts")
  • ![Challenges posts list for mobile tag showing only 2 posts](https://meta.codidact.com/uploads/aXH2Ap7xjh7QFdoLjr5GZvWr "Only 2 Challenges posts are listed for the mobile tag")
#2: Post edited by user avatar trichoplax‭ · 2021-04-19T20:15:28Z (almost 3 years ago)
Add in example showing that the same results show for both Q&A and Challenges
  • Sometimes the number of posts indicated in the tags list does not match the number of posts displayed for that tag. Is this deliberate (perhaps the totals include deleted posts that are not displayed)? Would it be more helpful for the numbers to match (long term - putting aside caching effects)?
  • ## An example from Code Golf
  • The "math" tag shows 5 posts but clicking on it lists only 3 posts.
  • ![Tags list showing math tag has 5 posts](https://meta.codidact.com/uploads/ZoraQXHfp3X34t36d7twPJRH "The math tag has 5 posts")
  • ![Posts list for math tag showing only 3 posts](https://meta.codidact.com/uploads/grxTcRiqCCredLguC1GEfVq8 "Only 3 posts are listed for the math tag")
  • ## An example from Writing
  • The "mobile" tag shows 3 posts but clicking on it lists only 2 posts.
  • ![Tags list showing mobile tag has 3 posts](https://meta.codidact.com/uploads/e8rDHaf1ZNVcDrfsqVefJ4qk "The mobile tag has 3 posts")
  • ![Posts list for mobile tag showing only 2 posts](https://meta.codidact.com/uploads/CKgGZcU5FL5TTGTmmFMKSEoi "Only 2 posts are listed for the mobile tag")
  • Sometimes the number of posts indicated in the tags list does not match the number of posts displayed for that tag. This appears to be due to the inclusion of deleted posts in the displayed number. Would it be more helpful to exclude deleted posts so that the numbers match (long term - putting aside caching effects)?
  • ## An example from Code Golf
  • The "math" tag shows 5 posts but clicking on it lists only 3 posts.
  • ![Tags list showing math tag has 5 posts](https://meta.codidact.com/uploads/ZoraQXHfp3X34t36d7twPJRH "The math tag has 5 posts")
  • ![Posts list for math tag showing only 3 posts](https://meta.codidact.com/uploads/grxTcRiqCCredLguC1GEfVq8 "Only 3 posts are listed for the math tag")
  • ## An example from Writing
  • Here the example images are shown first from the "Q&A" section and then from the "Challenges" section. The results are the same posts each time (each post being labelled as Q&A or Challenges depending on what list it is showing in, rather than depending on its genuine category). This is mentioned in existing bug https://github.com/codidact/qpixel/issues/249
  • This shows that the discrepancy is not due to the existence of other category types.
  • Moshi points out in a comment that deleted posts are included in the number shown next to each tag, so this probably explains it.
  • ### Q&A
  • Under "Q&A" The "mobile" tag shows 3 posts but clicking on it lists only 2 Q&A posts.
  • ![Q&A tags list showing mobile tag has 3 posts](https://meta.codidact.com/uploads/e8rDHaf1ZNVcDrfsqVefJ4qk "The Q&A mobile tag has 3 posts")
  • ![Q&A posts list for mobile tag showing only 2 posts](https://meta.codidact.com/uploads/CKgGZcU5FL5TTGTmmFMKSEoi "Only 2 Q&A posts are listed for the mobile tag")
  • ### Challenges
  • Under "Challenges" The "mobile" tag shows 3 posts but clicking on it lists only 2 Challenges posts.
  • ![Challenges tags list showing mobile tag has 3 posts](https://meta.codidact.com/uploads/nVQkvfG42AXJuCwg9rQFtw3f "The Challenges mobile tag has 3 posts")
  • ![Challenges posts list for mobile tag showing only 2 posts](https://meta.codidact.com/uploads/aXH2Ap7xjh7QFdoLjr5GZvWr "Only 2 Challenges posts are listed for the mobile tag")
#1: Initial revision by user avatar trichoplax‭ · 2021-04-19T08:01:08Z (almost 3 years ago)
Mismatch between tags list and number of posts for a given tag
Sometimes the number of posts indicated in the tags list does not match the number of posts displayed for that tag. Is this deliberate (perhaps the totals include deleted posts that are not displayed)? Would it be more helpful for the numbers to match (long term - putting aside caching effects)?

## An example from Code Golf

The "math" tag shows 5 posts but clicking on it lists only 3 posts.

![Tags list showing math tag has 5 posts](https://meta.codidact.com/uploads/ZoraQXHfp3X34t36d7twPJRH "The math tag has 5 posts")

![Posts list for math tag showing only 3 posts](https://meta.codidact.com/uploads/grxTcRiqCCredLguC1GEfVq8 "Only 3 posts are listed for the math tag")

## An example from Writing

The "mobile" tag shows 3 posts but clicking on it lists only 2 posts.

![Tags list showing mobile tag has 3 posts](https://meta.codidact.com/uploads/e8rDHaf1ZNVcDrfsqVefJ4qk "The mobile tag has 3 posts")

![Posts list for mobile tag showing only 2 posts](https://meta.codidact.com/uploads/CKgGZcU5FL5TTGTmmFMKSEoi "Only 2 posts are listed for the mobile tag")
bug