Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.3
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2012 at 22:30 UTC
Updated:
6 May 2012 at 00:21 UTC
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
Comment #1
Seijun commentedComment #2.0
(not verified) commentedissue fixed