Bug 201527 The cross grandtotal should be in the Grand Total list in "Filter by" tree[1102]
Description: The cross grandtotal should be in the Grand Total list in "Filter by" tree[1102] Build number: 2.2.0.v20070829-0630 Steps to reproduce: 1, New a crosstab has row dimension and column dimension 2, Specify row and column grandtotals 3, Create a filter on crosstab 4, Check the Filter by list of filter condition Expected result: The cross grandtotal(Aggregate On: All) should be in the Grand Total list but not in the Measures list Actual result: The cross grandtotal is in the Measures list
data/org.eclipse.birt.report.data.adapter/test/org/eclipse/birt/report/data/adapter/internal/script/DataRequestSessionTest.java
IBinding binding2 = new Binding( "b2", new ScriptExpression("dimension.dim1.level2 + 1"));
		int type2 = IBindingMetaInfo.DIMENSION_TYPE;
		IBinding binding3 = new Binding( "b3", new ScriptExpression("dimension[\"dim1\"][\"level3\"] + dimension.dim1.level2"));
		int type3 = IBindingMetaInfo.DIMENSION_TYPE;
		IBinding binding4 = new Binding( "b4", new ScriptExpression("data.b1"));
		int type4 = IBindingMetaInfo.DIMENSION_TYPE;
		IBinding binding5 = new Binding( "b5", new ScriptExpression("dimension.dim1.level1 + 25"));
		int type5 = IBindingMetaInfo.DIMENSION_TYPE;
		IBinding binding6 = new Binding( "b6", new ScriptExpression("data.b4 + 1"));
		int type6 = IBindingMetaInfo.DIMENSION_TYPE;
		IBinding binding7 = new Binding( "b7", new ScriptExpression("measure[\"abc\"]"));
		binding7.addAggregateOn( "dimension[\"dim1\"][\"level2\"]" );
		binding7.addAggregateOn( "dimension[\"dim1\"][\"level1\"]" );
		binding7.addAggregateOn( "dimension[\"dim2\"][\"level1\"]" );
		int type7 = IBindingMetaInfo.SUB_TOTAL_TYPE;
		
		IBinding binding71 = new Binding( "b71", new ScriptExpression("measure[\"abc\"]"));
		binding71.addAggregateOn( "dimension[\"dim1\"][\"level1\"]" );
		binding71.addAggregateOn( "dimension[\"dim1\"][\"level2\"]" );
		binding71.addAggregateOn( "dimension[\"dim2\"][\"level1\"]" );
		int type71 = IBindingMetaInfo.SUB_TOTAL_TYPE;
		
		IBinding binding8 = new Binding( "b8", new ScriptExpression("dimension[\"dim2\"][\"level1\"]"));
		int type8 = IBindingMetaInfo.DIMENSION_TYPE;
		
		IBinding binding9 = new Binding( "b9", new ScriptExpression( "measure[\"abc\"]"));
		binding9.addAggregateOn( "dimension[\"dim1\"][\"level1\"]"  );
		binding9.addAggregateOn( "dimension[\"dim1\"][\"level2\"]"  );
		int type9 = IBindingMetaInfo.GRAND_TOTAL_TYPE;