mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- Display the full list of attributes (details ZList) when exporting objects in HTML format (useful for Excel Web Queries).
SVN:trunk[737]
This commit is contained in:
@@ -381,7 +381,8 @@ abstract class cmdbAbstractObject extends CMDBObject
|
||||
$oAppContext = new ApplicationContext();
|
||||
$sClassName = $oSet->GetFilter()->GetClass();
|
||||
$aAttribs = array();
|
||||
$aList = MetaModel::GetZListItems($sClassName, 'list');
|
||||
$sZListName = isset($aExtraParams['zlist']) ? ($aExtraParams['zlist']) : 'list';
|
||||
$aList = self::FlattenZList(MetaModel::GetZListItems($sClassName, '$sZListName'));
|
||||
$aList = array_merge($aList, $aExtraFields);
|
||||
if (!empty($sLinkageAttribute))
|
||||
{
|
||||
|
||||
@@ -70,7 +70,7 @@ if (!empty($sExpression))
|
||||
}
|
||||
$sUrl = "$sProtocol://{$sServerName}{$sPort}/pages/";
|
||||
$oP->set_base($sUrl);
|
||||
cmdbAbstractObject::DisplaySet($oP, $oSet, array('menu' => false, 'display_limit' => false)); // no menu, no truncated list
|
||||
cmdbAbstractObject::DisplaySet($oP, $oSet, array('menu' => false, 'display_limit' => false, 'zlist' => 'details')); // no menu, no truncated list, "details" zlist
|
||||
break;
|
||||
|
||||
case 'csv':
|
||||
|
||||
Reference in New Issue
Block a user