mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
Advanced Search: read-only selection criteria to add an object
SVN:b1162[5558]
This commit is contained in:
@@ -75,10 +75,6 @@ class CriterionToSearchForm extends CriterionConversionAbstract
|
||||
{
|
||||
$aCriteria['label'] = trim($aCriteria['label'], "()");
|
||||
$aCriteria['is_removable'] = $bIsRemovable;
|
||||
if (!$bIsRemovable)
|
||||
{
|
||||
$aCriteria['widget'] = AttributeDefinition::SEARCH_WIDGET_TYPE_RAW;
|
||||
}
|
||||
|
||||
// Check criteria validity
|
||||
if (!array_key_exists('ref', $aCriteria) || !array_key_exists($aCriteria['ref'], $aAllFields))
|
||||
|
||||
Reference in New Issue
Block a user