X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=maps%2Flib%2FMAPSLog.pm;h=433de2b6d5d8502bccd1125f3b018ff582fddc90;hb=8d6e59ba7728e19d42da1533b9f24d0216867899;hp=33ac5c80ba30233af80a5834e906406a22695901;hpb=2911826fd83a57b69c528e4daaf8df30c00b6d2b;p=clearscm.git diff --git a/maps/lib/MAPSLog.pm b/maps/lib/MAPSLog.pm index 33ac5c8..433de2b 100644 --- a/maps/lib/MAPSLog.pm +++ b/maps/lib/MAPSLog.pm @@ -68,8 +68,9 @@ sub GetStats(%) { for (@Types) { my $condition = "type=\'$_\' and (timestamp > \'$sod\' and timestamp < \'$eod\')"; - $stats{$_} = MAPS::CountLog( + $stats{$_} = MAPS::CountLogDistinct( userid => $params{userid}, + column => 'sender', additional => $condition, ); } # for