Bug 155007 Group Toc doesn't work well
Group Toc doesn't work well Steps to reproduce: run the attached file and preview it in html/web viewer/PDF Expected results: Group toc works well Actual results: Group toc doesn't work well
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
public void handleColumn( ColumnDesign column )
		{
			transformColumnExpressions( column );
		}
		
		/*
		 * (non-Javadoc)
		 * 
		 * @see org.eclipse.birt.report.engine.ir.ReportItemVisitor#visitTableItem(org.eclipse.birt.report.engine.ir.TableItemDesign)
		 */
		public Object visitTableItem( TableItemDesign table, Object value )
		{
			BaseQueryDefinition query = prepareVisit( table );
			if ( query == null )
			{
				pushCurrentCondition( true );
				handleListingBand( table.getHeader( ), value );
				popCurrentCondition( );
				
				pushCurrentCondition( true );
				handleListingBand( table.getFooter( ), value );
				popCurrentCondition( );				
			}
			else
			{
				transformExpressions( table );
				
				for( int i = 0; i < table.getColumnCount( ); i++ )
				{
					handleColumn( table.getColumn( i ) );