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 true;
				}
			}
			HighlightDesign highlight = item.getHighlight( );
			if ( getParentQuery( ) == null && highlight != null
					&& highlight.getRuleCount( ) > 0 )
			{
				return true;
			}
			return false;
		}
		
		private void addSortAndFilter( ReportItemDesign item, BaseQueryDefinition query )
		{
			if ( item instanceof ListingDesign )
			{
				query.getSorts( )
						.addAll( createSorts( (ListingDesign) item ) );
				query.getFilters( )
						.addAll( createFilters( (ListingDesign) item ) );
			}
			else if ( item instanceof ExtendedItemDesign )
			{
				query.getFilters( ).addAll(
						createFilters( (ExtendedItemDesign) item ) );
			}
		}
		protected BaseQueryDefinition createSubQuery( ReportItemDesign item )
		{
			BaseQueryDefinition query = null;