I have a views block, filtered to display a list of several taxonomy terms. One field, Taxonomy term name, is shown. A second field, Taxonomy term ID, is added with the aggregate setting of COUNT. Each term name in the list is now followed by the counted number of nodes in that term. Terms with at least 1 node have a correct node count, but any term with 0 nodes is shown as having an incorrect count of '1'. Is there a setting somewhere that I am missing, which is causing aggregate to count 0 as 1?

EDIT: Turns out I was using the wrong relationship setting. I was able to get the results I wanted using the instractons here:
http://drupal.org/node/603868
In reply #43

Comments

Seijun’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

issue fixed