mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°1213 - Allow NOT IN SELECT in OQL syntax
This commit is contained in:
@@ -337,7 +337,7 @@ class DBObjectSearch extends DBSearch
|
||||
$this->m_aParams = array_merge($this->m_aParams, $oFilter->m_aParams);
|
||||
}
|
||||
|
||||
protected function RenameParam($sOldName, $sNewName)
|
||||
public function RenameParam($sOldName, $sNewName)
|
||||
{
|
||||
$this->m_oSearchCondition->RenameParam($sOldName, $sNewName);
|
||||
foreach($this->m_aPointingTo as $sExtKeyAttCode=>$aPointingTo)
|
||||
@@ -1518,6 +1518,10 @@ class DBObjectSearch extends DBSearch
|
||||
{
|
||||
return new IntervalExpression($oExpression->GetValue(), $oExpression->GetUnit());
|
||||
}
|
||||
elseif ($oExpression instanceof NestedQueryOqlExpression)
|
||||
{
|
||||
return NestedQueryExpression::FromOQLObjectQuery($oExpression->GetOQLObjectQuery());
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new CoreException('Unknown expression type', array('class'=>get_class($oExpression), 'query'=>$sQuery));
|
||||
|
||||
Reference in New Issue
Block a user