Closed (works as designed)
Project:
Term Node Count
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Oct 2010 at 09:22 UTC
Updated:
15 Apr 2011 at 14:47 UTC
Hi, is it possible to set it not to include unpublished nodes? This module is perfect for what I need except for this one thing.
Basically I am building a menu system based on taxonomy and menu block and views and I want to only show terms in the menu which have published nodes. At the moment all terms show regardless of whether there are any nodes associated to that term. In my case the category gets created automatically from a node import however the nodes are unpublished to begin with meaning that when I go to the term page I get "page not found".
If I could use this module to say "do not show the term in the list if it has 0 PUBLISHED nodes"
Thanks
Will Eaton
Comments
Comment #1
kenorb commentedNo, currently all values are hardcoded in {term_node_count} table.
It's similar problem to: #923438: Could counting node by the specific node type ?