Index: openacs-4/packages/acs-templating/tcl/list-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/list-procs.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/acs-templating/tcl/list-procs.tcl 26 Sep 2003 08:10:03 -0000 1.4 +++ openacs-4/packages/acs-templating/tcl/list-procs.tcl 26 Sep 2003 12:54:34 -0000 1.5 @@ -536,7 +536,6 @@ return [uplevel $list_properties(ulevel) \ [list export_vars \ - -no_empty \ -base [ad_conn url] \ -exclude $exclude \ -override $override \ @@ -906,8 +905,10 @@ if { [exists_and_not_null __element_properties(aggregate)] } { # Update totals incr __agg_counter($__element_properties(name)) - set __agg_sum($__element_properties(name)) \ - [expr $__agg_sum($__element_properties(name)) + [set $__element_properties(name)]] + if { ![string equal $__element_properties(aggregate) "count"] } { + set __agg_sum($__element_properties(name)) \ + [expr $__agg_sum($__element_properties(name)) + [set $__element_properties(name)]] + } # Check if the value of the groupby column has changed if { [exists_and_not_null $__list_properties(groupby)] } {