Project: Birt
Bug 132805 Set descending to outer group will affect inner group.
Reported: 2006-03-22 04:31:23 | Status: closed fixed

Description: Set descending to outer group will affect inner group. Steps to reproduce: 1. New a sample datasource and dataset from orders. 2. Drag the dataset to Layout. 3. Add a group on ordernumber, interval 10, descending. 4. Add another group on orderdate, interval day 2, ascending. 5. Preview. Expected result: Data are grouped correctly. Actual result: Inner group didn't work unless you set outer group's sort to asc.

Files changed in fix:
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupCalculationUtil.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/expression/ColumnReferenceExpression.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutor.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutorUtil.java