mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°4977 - Wrong result in search on a Service subcategory for Service provider
This commit is contained in:
@@ -493,7 +493,7 @@ class SearchForm
|
||||
$aAllowedValues = array();
|
||||
while ($oObject = $oSet->Fetch())
|
||||
{
|
||||
$aAllowedValues[] = ["value"=>$oObject->GetKey(), "label" => $oObject->GetName()];
|
||||
$aAllowedValues[$oObject->GetKey()] = $oObject->GetName();
|
||||
}
|
||||
return array('values' => $aAllowedValues);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user