소스 검색

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