From 4c59d64025ab2c722f5e383f9ce4793d7d858b0c Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Wed, 8 Jun 2016 10:21:58 +0000 Subject: [PATCH] Extending action classes (notifications): objects listed twice (in the base classes and leaf classes) in the notification page (actions tab). SVN:trunk[4187] --- pages/notifications.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/notifications.php b/pages/notifications.php index 024c43f33..c77a6f82f 100644 --- a/pages/notifications.php +++ b/pages/notifications.php @@ -94,6 +94,7 @@ foreach($aActionClasses as $sActionClass) $oP->add('

'.MetaModel::GetName($sActionClass).'

'); } $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);