Bug 137464 apply a filter on a Join dataset in chart editor's select data page, the data preview part is not refresh
Description: use the attach file.When apply a filter on a Join dataaset in chart editor's select data page, the data preview part is not refresh. Step to reproduce: 1. open the attach file 2. creat a chart and choose select data page 3. use the Jiondataset and set the X Y series 4. chilck a filter with row["Data Set1::EMPLOYEEID"] =1 Actual result: look at the data preview after you apply the filter,you will find it haven't change any more but the filter has effect Ecepted result: the data preview should refresh after set a filter
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedJointDataSourceQuery.java
addSortToPreparedQuery( (IJoinCondition) joinConditions.get( i ),
						isLeftDataSet,
						preparedQuery );
			}
			IResultIterator ri = preparedQuery.execute( null )
					.getResultIterator( );
			assert ri instanceof ResultIterator;
			return (ResultIterator) ri;
		}
		catch ( BirtException e )
		{
			throw new DataException( e.getMessage( ) );
		}
	}
	/**
	 * Add a sort expression to preparedQuery.
	 * @param joinConditions
	 * @param isLeftDataSet
	 * @param preparedQuery
	 */
	private void addSortToPreparedQuery( IJoinCondition condition,
			boolean isLeftDataSet, IPreparedQuery preparedQuery )
	{
		IScriptExpression sortExpression;
		if ( isLeftDataSet )
		{
			sortExpression = condition.getLeftExpression( );
		}
		else
		{