NewsStats: next ea91003a

Author Committer Branch Timestamp Parent
thh thh next 2013-09-03 12:55:00 next 1af57a53
Affected Issues  0000051: Use sensible default for sorting order ("grouping")
Changeset One more default sorting order ("grouping").

If --group-by is not set, output will be grouped
by month by default (as long as --boundary is
not set to 'level' or 'average', where grouping
by newsgroup is default).

Now we default to 'newsgroup' if just one newsgroup
is requested by --newsgroups, but more than one
month by --month.

Both defaults can be overridden.

But forced --group-by=month for --report type
'average' or 'sum' in front so defaults are
not checked.

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