mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Advanced Search: External keys default criteria are read-only and organizations are not hierarchical
SVN:trunk[5681]
This commit is contained in:
@@ -194,14 +194,12 @@ class SearchForm
|
||||
}
|
||||
|
||||
$bIsRemovable = true;
|
||||
/*
|
||||
if (isset($aExtraParams['selection_mode']) && $aExtraParams['selection_mode'])
|
||||
if (isset($aExtraParams['selection_type']) && ($aExtraParams['selection_type'] == 'single'))
|
||||
{
|
||||
// Mark all criterion as read-only and non-removable
|
||||
// This is a controversy, the parameters were not read-only before
|
||||
// Mark all criterion as read-only and non-removable for external keys only
|
||||
$bIsRemovable = false;
|
||||
}
|
||||
*/
|
||||
|
||||
$aFields = $this->GetFields($oSet);
|
||||
$oSearch = $oSet->GetFilter();
|
||||
$aCriterion = $this->GetCriterion($oSearch, $aFields, $aArgs, $bIsRemovable);
|
||||
|
||||
Reference in New Issue
Block a user