mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°1724 - Fix external key search error when an UNION is used as a filter in the datamodel
This commit is contained in:
@@ -91,11 +91,11 @@ try
|
||||
$oObj = $oWizardHelper->GetTargetObject();
|
||||
if (array_key_exists('query_params', $aExtraParams))
|
||||
{
|
||||
$aExtraParams['query_params']['this'] = $oObj;
|
||||
$aExtraParams['query_params']['this->object()'] = $oObj;
|
||||
}
|
||||
else
|
||||
{
|
||||
$aExtraParams['query_params'] = array('this' => $oObj);
|
||||
$aExtraParams['query_params'] = array('this->object()' => $oObj);
|
||||
}
|
||||
|
||||
// // Current extkey value, so we can display event if it is not available anymore (eg. archived).
|
||||
|
||||
Reference in New Issue
Block a user