I might be confused on how this works. Can we not filter the node count? For example, I have nodes that have a date field.

I've created a filter based on the date being greater than now. I want to show the number of nodes that use the term that pass the filter. The filter however does nothing on the count. Is the table stored by the module just a total sum of ALL nodes that use the term, published or not, and not affected by the filter?

If so, I guess i'll have to come up with a way to query the sql to get the count.

Comments

kenorb’s picture

It was confusing for me as well.
It doesn't work that way. It just keeping counts per specified term and store them into {term_node_count} table. Basically it's nothing with Views filters, it just reads data from its own tables.

kenorb’s picture

kenorb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 is no longer officially supported. If you think this issue is still relevant for 8.x, feel free to re-open.