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
{
			if ( expr == null )
			{
				return null;
			}
			IBaseQueryDefinition query = getParentQuery( );
			if ( query != null )
			{
				List expressions = new ArrayList( );
				expressions.add( expr );	
				ITotalExprBindings totalExpressionBinding = expressionUtil
					.prepareTotalExpressions( expressions, getCurrentGroupName( ) );
				
				addNewColumnBindings( query, totalExpressionBinding );
				
				List newExpressions = totalExpressionBinding.getNewExpression( );
				return (String) newExpressions.get( 0 );
			}
			return expr;
		}			
		
		/**
		 * Transfer the old visibility and hightlight expressions to column dataBinding and bind
		 * it to the Query. And create new visibility and hightlight expressions to replace
		 * the old.
		 */
		private void transformColumnExpressions( ColumnDesign column )
		{
			IBaseQueryDefinition query = getParentQuery( );
			if ( query == null )