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/src/org/eclipse/birt/data/engine/olap/data/api/CubeQueryExecutorHelper.java
Object[] levelKey = resultSet.getLevelKeyValue( levelIndex );
			if ( levelKey!=null && filterHelper.isQualifiedRow( row ) )
			{
				Object aggrValue = filterHelper.evaluateFilterExpr( row );
				aggrValueArray.add( new ValueObject( aggrValue,
						new MultiKey( levelKey ) ) );
			}
		}
		
		for ( int i = 0; i < aggrValueArray.size( ); i++ )
		{
			ValueObject aggrValue = (ValueObject) aggrValueArray.get( i );
			levelKeyArray.add( aggrValue.index );
		}
		if ( n < 0 )
		{
			int size = levelKeyArray.size( ); 
			n = (int) Math.round( filter.getN( ) / 100 * size );
			levelKeyArray.clear( );
			if ( isTop )
			{
				for ( int i = aggrValueArray.size( ) - 1; i > aggrValueArray.size( )
						- 1 - n; i-- )
				{
					ValueObject aggrValue = (ValueObject) aggrValueArray.get( i );
					levelKeyArray.add( aggrValue.index );
				}
			}
			else
			{