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
if ( selKeyValueList.isEmpty( ) )
		{
			isEmptyXTab = true;
		}
		else
		{
			Object[][] keyValues = new Object[selKeyValueList.size( )][];
			for ( int i = 0; i < selKeyValueList.size( ); i++ )
			{
				keyValues[i] = (Object[]) selKeyValueList.get( i );
			}
			ISelection selection = SelectionFactory.createMutiKeySelection( keyValues );
			LevelFilter levelFilter = new LevelFilter( filter.getTargetLevel( ),
					new ISelection[]{
						selection
					} );
			levelFilters.add( levelFilter );
		}
	}
	
	
	/**
	 * get all field names of a level, including key column names and attribute column names.
	 * TODO: we just get all the field names, and will further support key names and attributes as field names.
	 * @param levels
	 * @param resultSet
	 * @return
	 */
	private String[] getAllFieldNames( DimLevel[] levels,
			IAggregationResultSet resultSet )