mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 06:18:44 +02:00
N°729 Form prefill : Minor fix in variables naming
SVN:trunk[5707]
This commit is contained in:
@@ -193,9 +193,9 @@ public function PrefillSearchForm(&$aContextParam)
|
||||
if(MetaModel::IsValidAttCode($aContextParam['dest_class'],'org_id') && !empty($aContextParam['source_obj']->Get('provider_id')) && !empty($aContextParam['source_obj']->Get('org_id')))
|
||||
{
|
||||
$aContextParam['filter']->ResetCondition();
|
||||
$sOrgIds = array( $aContextParam['source_obj']->Get('provider_id'),
|
||||
$aOrgIds = array( $aContextParam['source_obj']->Get('provider_id'),
|
||||
$aContextParam['source_obj']->Get('org_id'));
|
||||
$aContextParam['filter']->AddCondition('org_id', $sOrgIds , 'IN');
|
||||
$aContextParam['filter']->AddCondition('org_id', $aOrgIds , 'IN');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -197,9 +197,9 @@ public function PrefillSearchForm(&$aContextParam)
|
||||
if(MetaModel::IsValidAttCode($aContextParam['dest_class'],'org_id') && !empty($aContextParam['source_obj']->Get('provider_id')) && !empty($aContextParam['source_obj']->Get('org_id')))
|
||||
{
|
||||
$aContextParam['filter']->ResetCondition();
|
||||
$sOrgIds = array( $aContextParam['source_obj']->Get('provider_id'),
|
||||
$aOrgIds = array( $aContextParam['source_obj']->Get('provider_id'),
|
||||
$aContextParam['source_obj']->Get('org_id'));
|
||||
$aContextParam['filter']->AddCondition('org_id', $sOrgIds , 'IN');
|
||||
$aContextParam['filter']->AddCondition('org_id', $aOrgIds , 'IN');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user