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
finishVisit( query );
			return value;
		}		
		protected void pushReportItemQuery( IBaseQueryDefinition query )
		{
			if ( this.reportItemQueryStack == null )
			{
				this.reportItemQueryStack = new LinkedList( );
			}
			this.reportItemQueryStack.addLast( query );
		}
		protected void popReportItemQuery( )
		{
			assert this.reportItemQueryStack.isEmpty( ) == false;
			this.reportItemQueryStack.removeLast( );
		}
		
		/**
		 * A helper function for adding a query to query stack
		 */
		protected void pushCurrentCondition( boolean currentCondition )
		{
			this.currentConditionStack.addLast( String.valueOf( currentCondition ) );
		}
		/**
		 * A helper function for removing a query from query stack
		 */
		protected void popCurrentCondition( )
		{
			assert !currentConditionStack.isEmpty( );