瀏覽代碼

Extending action classes (notifications): objects listed twice (in the base classes and leaf classes) in the notification page (actions tab).

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4187 a333f486-631f-4898-b8df-5754b55c2be0
romainq 9 年之前
父節點
當前提交
4cc6dc1be8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pages/notifications.php

+ 1 - 0
pages/notifications.php

@@ -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);