mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
⚡ N°1420 - Perf autocomplete (remove almost duplicated requests)
This commit is contained in:
@@ -437,6 +437,7 @@ EOF
|
||||
$oValuesSet->SetLimit($iMax);
|
||||
$aValuesContains = $oValuesSet->GetValues(array('this' => $oObj, 'current_extkey_id' => $iCurrentExtKeyId), $sContains, 'contains');
|
||||
asort($aValuesContains);
|
||||
$aValues = array();
|
||||
foreach($aValuesContains as $sKey => $sFriendlyName)
|
||||
{
|
||||
if (!isset($aValues[$sKey]))
|
||||
|
||||
Reference in New Issue
Block a user