Or manual in the file :
function :
switch ($logic)
{
case 'NOT':
case 'OR':
// Matches "at least one" value
$conditions = array();
foreach($values as $value)
{
if (empty($value))
continue;
$conditions[] = 'a.' . $relation->foreignKey . ' = ' . (int)$value;
}
// FIX : THIS CHECK HERE
if (count($conditions))
{
// Search for all related items matching the filter values
$ids = $this->belongsOf($relation, $conditions);
if ($logic == 'OR')
// SQL Restriction list from the related items founds
$this->addRestrict($ids);
else if ($logic == 'NOT')
// SQL Exclusion of the related items founds.
$this->addExclude($ids);
}
break;