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
}
				
				pushCurrentCondition( true );
				handleListingBand( table.getHeader( ), value );
				
				SlotHandle groupsSlot = ( (TableHandle) table.getHandle( ) )
						.getGroups( );
				for ( int i = 0; i < table.getGroupCount( ); i++ )
				{
					handleListingGroup( table.getGroup( i ),
							(GroupHandle) groupsSlot.get( i ), value );
				}
				popCurrentCondition( );
				BandDesign detail = table.getDetail( );
				if ( detail == null || detail.getContentCount( ) == 0 )
				{
					query.setUsesDetails( false );
				}
				
				pushCurrentCondition( false );
				handleListingBand( table.getDetail( ), value );
				popCurrentCondition( );
				
				pushCurrentCondition( true );				
				handleListingBand( table.getFooter( ), value );
				popCurrentCondition( );
			}
			finishVisit( query );
			return value;
		}