Then you'll have to manually revert the change with the following.
IN: libraries/CBLib/CBLib/AhaWow/Model/XmlQuery.php
ON: Lines 802 - 826
FROM:
Code:
// Only parse data for joins if it hasn't been processed yet:
if ( $data->attributes( 'dataprocessed' ) != 'true' ) {
// Process the joins to ensure fields array is correct:
$this->_addGetJoinAs( $data );
// Check if the data has a join that needs to be a part of the count:
$this->processJoinsNeededForCount( array( $data->attributes( 'name' ) => null ) );
// Ensure this datas join is inner and not left:
$this->_changeJoinType( $data->attributes( 'name' ) );
}
$where = $data->getElementByPath( 'where');
if ( $where ) {
if ( cbStartOfStringMatch( $valueType, 'xml:' ) ) {
// this is a quick fix to make the baskets plan filter still work, as it's very different
$saveReverse = $this->setReverse( true );
$this->process_where( $where, $filterValuesArray );
$this->setReverse( $saveReverse );
return;
}
}
TO:
Code:
$where = $data->getElementByPath( 'where');
if ( $where ) {
if ( cbStartOfStringMatch( $valueType, 'xml:' ) ) {
// this is a quick fix to make the baskets plan filter still work, as it's very different
$saveReverse = $this->setReverse( true );
$this->process_where( $where, $filterValuesArray );
$this->setReverse( $saveReverse );
return;
}
}
// Only parse data for joins if it hasn't been processed yet:
if ( $data->attributes( 'dataprocessed' ) != 'true' ) {
// Process the joins to ensure fields array is correct:
$this->_addGetJoinAs( $data );
// Check if the data has a join that needs to be a part of the count:
$this->processJoinsNeededForCount( array( $data->attributes( 'name' ) => null ) );
// Ensure this datas join is inner and not left:
$this->_changeJoinType( $data->attributes( 'name' ) );
}