In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Relationship Graph View Issue ] Dependency Graph ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000811 [In-Portal CMS] Data Management task always 2010-07-23 16:44 2010-11-30 12:48
Reporter alex View Status public  
Assigned To alex
Priority normal Resolution fixed  
Status closed      
Summary 0000811: Move grid total function definition to grid
Description Currently we have automatic grid totals calculation functionality. To activate it you need:

    * totals_render_as="grid_total_row" parameter in "m_RenderElement" tag, that renders "grid" block
    * add "totals" key (possible values are SUM, COUNT, AVG or any MySQL aggregate function) in field declaration in "Fields" property in unit config

Such approach works, but won't allow to have different totals function based on place, where grid is used or special-based.

I propose to move "totals" option to field declaration in grid definition part, where "filter_block" is defined.
Additional Information For backwards compatibility we could still look in old place, when we don't have "totals" option in grid definition.

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker