Bug 12282 - General summary reports. Patch by gerv; r=joel.

git-svn-id: svn://10.0.0.236/trunk@130413 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gerv%gerv.net
2002-09-25 07:11:45 +00:00
parent a6cb185588
commit da63dbfa6e
10 changed files with 465 additions and 1 deletions

View File

@@ -813,6 +813,10 @@ sub init {
$suppseen{$str} = 1;
}
}
# Make sure we create a legal SQL query.
@andlist = ("1 = 1") if !@andlist;
my $query = ("SELECT DISTINCT " .
join(', ', @fields) .
", COUNT(DISTINCT ugmap.group_id) AS cntuseringroups, " .