Bug 190419 The topn filter doesn't take effect on the datetime type dimension[1102]
Description: The topn filter doesn't take effect on the datetime type dimension[1102] Build number: 2.2.0.v20070601-1347 Steps to reproduce: 1, New a crosstab which includes datetime type dimension 2, Specify a filter on the year level using two filter condition data["year"] topn 2 or dimension["Date"]["year"] topn 2 3, Preview Expected result: Both filter condition can take effect Actual result: No effect only 2005 year in crosstab
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/olap/api/CubeFeaturesTest.java
{
			lines[i] = "		";
		}
		
		
		while( edge1.next( ) )
		{
			long countryEnd = ((DimensionCursor)edge1.getDimensionCursor( ).get( 0 )).getEdgeEnd( );
			long cityEnd = ((DimensionCursor)edge1.getDimensionCursor( ).get( 1 )).getEdgeEnd( );
			
			lines[0] += cursor.getObject( columns[0] ) + "		";
			lines[1] += cursor.getObject( columns[1] ) + "		";
			lines[2] += cursor.getObject( columns[2] ) + "		";
			if ( cityEnd == edge1.getPosition( ) )
			{
				lines[0] += cursor.getObject( columns[0] ) + "		";
				lines[1] += cursor.getObject( columns[1] ) + "		";
				lines[2] += "[Total]" + "		";
			}
			
			if ( countryEnd == edge1.getPosition( ))
			{
				lines[0] += cursor.getObject( columns[0] ) + "		";
				lines[1] += "[Total]" + "		";
				lines[2] += "  " + "  		";
			}	
		}	
		lines[0] += "[Total]";
		String output = "";
		for ( int i = 0; i < lines.length; i++ )