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
else
		{
			IDiskArray result2 = getTopbottomFilterPositions( dimension,
					dimPosition,
					topBottomfilterList );
			return interPosition( result, result2 );
		}
	}
	/**
	 * @param dimension
	 * @param dimPosition
	 * @param dimFilterList 
	 * @return
	 * @throws IOException
	 * @throws DataException
	 */
	private IDiskArray getDimFilterPositions( Dimension dimension,
			IDiskArray dimPosition, List dimFilterList ) throws IOException, DataException
	{
		IDiskArray result = new BufferedPrimitiveDiskArray( Constants.LIST_BUFFER_SIZE );
		for ( int i = 0; i < dimPosition.size( ); i++ )
		{
			Integer pos = (Integer) dimPosition.get( i );
			if ( isDimPositionSelected( dimension, pos.intValue( ), dimFilterList) )
				result.add( pos );
		}
		return result;
	}
	
	/**