mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
N°2508 - Include Obsolescence icon within list and autocomplete - cleanup code never used
This commit is contained in:
@@ -485,7 +485,7 @@ class SearchForm
|
||||
$aAllowedValues = array();
|
||||
while ($oObject = $oSet->Fetch())
|
||||
{
|
||||
$aAllowedValues[] = ["value"=>$oObject->GetKey(), "label" => $oObject->GetName(), "obsolescence_flag"=>$oObject->IsObsolete()?"1":"0", "additional_field" => "je sais pas"];
|
||||
$aAllowedValues[] = ["value"=>$oObject->GetKey(), "label" => $oObject->GetName()];
|
||||
}
|
||||
return array('values' => $aAllowedValues);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user