mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Extending action classes (notifications): objects listed twice (in the base classes and leaf classes) in the notification page (actions tab).
SVN:trunk[4187]
This commit is contained in:
@@ -94,6 +94,7 @@ foreach($aActionClasses as $sActionClass)
|
||||
$oP->add('<h2>'.MetaModel::GetName($sActionClass).'</h2>');
|
||||
}
|
||||
$oFilter = new DBObjectSearch($sActionClass);
|
||||
$oFilter->AddCondition('finalclass', $sActionClass); // derived classes will be further processed
|
||||
$aParams = array();
|
||||
$oBlock = new DisplayBlock($oFilter, 'list', false, $aParams);
|
||||
$oBlock->Display($oP, 'block_action_'.$iBlock, $aParams);
|
||||
|
||||
Reference in New Issue
Block a user