Bug 122306 TOC on group won't be displayed
Description: TOC on group won't be displayed Steps to reproduce: 1.Add a sample datasource and a data with table "CUSTOMERS" 2.Add a table binding with data set 3.Add a group on the table and set the toc expression to "Group" 4.Preview in HTML Expected result: TOC "Group" will be displayed on the TOC pane Actual result: Nothing in the TOC pane
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
/**
		 * @return the parent query for the current report item
		 */
		protected BaseQueryDefinition getParentQuery( )
		{
			if ( queryStack.isEmpty( ) )
				return null;
			for ( int i = queryStack.size( ) - 1; i >= 0; i-- )
			{
				if ( queryStack.get( i ) instanceof BaseQueryDefinition )
					return (BaseQueryDefinition) queryStack.get( i );
			}
			return null;
		}
		/**
		 * @return the expression collection
		 */
		protected Collection getExpressions( )
		{
			return expressions;
		}
		/**
		 * @return a unique query name, based on a simple integer counter
		 */
		protected String createUniqueQueryName( )
		{
			queryCount++;
			return String.valueOf( queryCount );
		}
		/**