mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Advanced Search: Sort allowed values
SVN:b1162[5472]
This commit is contained in:
@@ -275,7 +275,13 @@ class SearchForm
|
||||
}
|
||||
}
|
||||
|
||||
return array('values' => $oAttrDef->GetAllowedValues());
|
||||
$aAllowedValues = $oAttrDef->GetAllowedValues();
|
||||
if (is_array($aAllowedValues))
|
||||
{
|
||||
asort($aAllowedValues);
|
||||
}
|
||||
|
||||
return array('values' => $aAllowedValues);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user