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
transfer.getResultSetExpressions( )
					.put( binding.getResultSetColumnName( ),
							binding.getBoundExpression( ));
		}
		private IConditionalExpression createConditionalExpression( RuleDesign rule )
		{
			ConditionalExpression expression = new ConditionalExpression( rule
					.getTestExpression( ),
					toDteFilterOperator( rule.getOperator( ) ), rule.getValue1( ),
					rule.getValue2( ) );
			return ExpressionUtil.transformConditionalExpression( expression );
		}
	}
	
	private int toDteFilterOperator( String modelOpr )
	{
		if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_EQ ) )
			return IConditionalExpression.OP_EQ;
		if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_NE ) )
			return IConditionalExpression.OP_NE;
		if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_LT ) )
			return IConditionalExpression.OP_LT;
		if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_LE ) )
			return IConditionalExpression.OP_LE;
		if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_GE ) )
			return IConditionalExpression.OP_GE;
		if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_GT ) )
			return IConditionalExpression.OP_GT;
		if ( modelOpr.equals( DesignChoiceConstants.FILTER_OPERATOR_BETWEEN ) )
			return IConditionalExpression.OP_BETWEEN;