git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3576 a333f486-631f-4898-b8df-5754b55c2be0
@@ -73,6 +73,7 @@ class DisplayBlock
{
$oDummyFilter = new DBObjectSearch($oSet->GetClass());
$aKeys = array();
+ $oSet->OptimizeColumnLoad(array('id')); // No need to load all the columns just to get the id
while($oObject = $oSet->Fetch())
$aKeys[] = $oObject->GetKey();