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

kenorb’s picture

Status: Active » Closed (works as designed)

No, currently all values are hardcoded in {term_node_count} table.
It's similar problem to: #923438: Could counting node by the specific node type ?