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
}
			return null;
		}	
		
		/**
		 * @return the name of the current group 
		 * which the current report item be included
		 */
		protected String getCurrentGroupName( )
		{
			GroupDefinition group = getCurrentGroup( );
			if ( group != null )
			{
				return group.getName( );
			}
			return null;
		}
		protected void addColumBinding( IBaseQueryDefinition transfer,
				ComputedColumnHandle binding )
		{
			String name = binding.getName( );
			String expr = binding.getExpression( );
			String type = binding.getDataType( );
			int dbType = ModelDteApiAdapter.toDteDataType( type );
			IBaseExpression dbExpr = new ScriptExpression( expr, dbType );
			dbExpr.setGroupName( binding.getAggregrateOn( ) );
			transfer.getResultSetExpressions( ).put( name, dbExpr );
		}
		/**
		 * create query for non-listing report item