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!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
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 Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.1.1-B1
Status closed Product Version 5.1.0 Target Version 5.1.1
Time EstimateNo estimate
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.
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-dev/browse_thread/thread/9c86c0bc202bfb34
Change Log Message
Estimate Points 0
Attached Files patch file icon grid_total_definition_moved.patch [^] (5,206 bytes) 2010-07-23 17:22 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000786closed (5.1.1)alex Column totals block customization issues 

-  Notes
User avatar (0002617)
Dmitry (manager)
2010-07-30 17:12

Can't apply the patch to 5.1.0
User avatar (0002634)
alex (manager)
2010-07-31 09:08

Re-assembling gave same patch as current.

Did you reverted all previously applied patches, before testing this one (it's standard test practice)?
User avatar (0002654)
Dmitry (manager)
2010-08-02 16:40

Tested good, please commit.
User avatar (0002716)
alex (manager)
2010-08-28 16:26

Fix committed to 5.1.x branch. Commit Message:

Fixes 0000811: Move grid total function definition to grid
User avatar (0003068)
Dmitry (manager)
2010-11-30 12:48

Closing released 5.1.1 task.

- Related Changesets
In-Portal CMS: 5.1.x r13884
Timestamp: 2010-08-28 16:26:19
Author: alex
Details ] Diff ]
Fixes 0000811: Move grid total function definition to grid
mod - /in-portal/branches/5.1.x/core/admin_templates/incs/grid_blocks.tpl Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/db/db_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/db/db_tag_processor.php Diff ] File ]
mod - /in-portal/branches/5.1.x/core/kernel/db/dblist.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-11-30 12:48 Dmitry Note Added: 0003068
2010-11-30 12:48 Dmitry Status resolved => closed
2010-08-28 16:26 alex Note Added: 0002716
2010-08-28 16:26 alex Status reviewed and tested => resolved
2010-08-28 16:26 alex Fixed in Version => 5.1.1-B1
2010-08-28 16:26 alex Resolution open => fixed
2010-08-28 16:26 alex Changeset attached 5.1.x r13884
2010-08-02 16:40 Dmitry Note Added: 0002654
2010-08-02 16:40 Dmitry Status needs testing => reviewed and tested
2010-08-02 12:28 alex Status needs work => needs testing
2010-08-02 11:13 Dmitry Assigned To !COMMUNITY => alex
2010-08-02 11:13 Dmitry Status needs testing => needs work
2010-07-31 13:19 Dmitry Target Version Icebox => 5.1.1
2010-07-31 09:08 alex Note Added: 0002634
2010-07-31 09:08 alex Assigned To alex => !COMMUNITY
2010-07-31 09:08 alex Status needs work => needs testing
2010-07-30 17:12 Dmitry Note Added: 0002617
2010-07-30 17:12 Dmitry Assigned To !COMMUNITY => alex
2010-07-30 17:12 Dmitry Status needs testing => needs work
2010-07-23 17:22 alex Assigned To => !COMMUNITY
2010-07-23 17:22 alex Developer => alex
2010-07-23 17:22 alex Status active => needs testing
2010-07-23 17:22 alex File Added: grid_total_definition_moved.patch
2010-07-23 16:44 alex Relationship added related to 0000786
2010-07-23 16:44 alex New Issue
2010-07-23 16:44 alex Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/9c86c0bc202bfb34



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

Powered by Mantis Bugtracker