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 ( queries != null )
				{
					item.setQueries( queries );
					for ( int i = 0; i < queries.length; i++ )
					{
						if ( queries[i] != null )
						{
							this.queryIDs.put( queries[i], String
									.valueOf( item.getID( ) )
									+ "_" + String.valueOf( i ) );
							ResultMetaData metaData = new ResultMetaData( queries[i] );
							resultMetaData.put( queries[i], metaData );
							registerQueryAndElement( queries[i], item );
							if ( queries[i] instanceof IQueryDefinition )
							{
								this.queries.add( queries[i] );
							}
							else if ( queries[i] instanceof ISubqueryDefinition )
							{
								
								if ( parentTrans != null )
								{
									parentTrans.getSubqueries( ).add(
											queries[i] );
								}
							}
						}
					}
					if ( queries.length > 0 )
					{