mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°1429: Dashlet header statistics fix corresponding search criteria
SVN:trunk[5805]
This commit is contained in:
@@ -1712,12 +1712,7 @@ class DashletHeaderDynamic extends Dashlet
|
||||
if (isset($sClass) && $this->oModelReflection->IsValidAttCode($sClass, $this->aProperties['group_by']))
|
||||
{
|
||||
$aValues = $this->oModelReflection->GetAllowedValues_att($sClass, $this->aProperties['group_by']);
|
||||
$aNewValues = array();
|
||||
foreach($aValues as $sKey => $sValue)
|
||||
{
|
||||
$aNewValues[$sKey] = html_entity_decode($sValue, ENT_QUOTES);
|
||||
}
|
||||
$oField->SetAllowedValues($aNewValues);
|
||||
$oField->SetAllowedValues($aValues);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -3835,7 +3835,7 @@ class AttributeEnum extends AttributeString
|
||||
$aLocalizedValues = array();
|
||||
foreach ($aRawValues as $sKey => $sValue)
|
||||
{
|
||||
$aLocalizedValues[$sKey] = Str::pure2html($this->GetValueLabel($sKey));
|
||||
$aLocalizedValues[$sKey] = $this->GetValueLabel($sKey);
|
||||
}
|
||||
return $aLocalizedValues;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user