Forum OpenACS Development: Re: Group Summary Add new parameter to template::list::create

Hi guys,

yes I also made a change to list builder aggregation, but mine was a bit different - it was to suppress the grand total at the bottom of the list, while still showing all the detail rows and sub-totals.

It works as a new parameter to template::list::create
{-aggregates_total_p 1}

If set to 0 don't show grand totals for aggregates. If set to 1, works as currently, displaying the grand total.

Defaults to 1 for backwards compatibility. It's fairly unusual to do sub-totalling without wanting a grand total too.