NewsStats: next b5125b10

Author Committer Branch Timestamp Parent
thh thh next 2013-08-10 23:47:32 next 93c8eae2
Affected Issues  0000049: "Virtual" .ALL groups are missing if every group in that hierarchy has 0 postings
Changeset Add empty 'virtual' .ALL hierarchies as needed.

When using a --checkgroups file while tabulating,
valid but empty groups will be added with a posting
count of zero as needed. If all groups in a
sub-hierarchy are empty, the virtual '.ALL' group
for that sub-hierarchy was not created, though.

If local.test.dummy and local.test.binary were
both empty, both groups were added with a posting
count of '0', but local.test.ALL was not.

Now we loop through all hierarchy elements using
ParseHierarchies and add empty .ALL hierarchies as
needed.

Fixes 0000049.

Also fixing a typo in some comment. :-)

Signed-off-by: Thomas Hochstein <thh@inter.net>
mod - gatherstats.pl Diff File