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
if ( queries[i] != null )
						{
							if ( queries[i] instanceof IQueryDefinition )
							{
								this.queryIDs.put( queries[i], String
										.valueOf( item.getID( ) )
										+ "_" + String.valueOf( i ) );
								this.queries.add( queries[i] );
								
								
								Collection bindings = ( (IQueryDefinition) queries[i] )
										.getInputParamBindings( );
								if ( bindings.size( ) > 0 )
								{
									if ( parentTrans != null )
									{
										Iterator iter = bindings.iterator( );
										while ( iter.hasNext( ) )
										{
											IInputParameterBinding binding = (IInputParameterBinding) iter
													.next( );
											parentTrans.getRowExpressions( )
													.add( binding.getExpr( ) );
										}
									}
								}
							}
							else if ( queries[i] instanceof ISubqueryDefinition )
							{