mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Advanced Search: Links n:n
SVN:b1162[5438]
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -57,19 +57,9 @@ try
|
||||
$sListParams = stripslashes(utils::ReadParam('list_params', '{}', false, 'raw_data'));
|
||||
$aListParams = (array) json_decode($sListParams, true);
|
||||
|
||||
|
||||
$aPassFromExtraParamsToListParams = array(
|
||||
'currentId',
|
||||
'selection_mode',
|
||||
'selection_type',// In case of single selection, the root of the HTML identifiers used is suffixed with "_results" (at least in the external keys)
|
||||
'cssCount',
|
||||
);
|
||||
foreach ($aPassFromExtraParamsToListParams as $passThroughKey)
|
||||
foreach($aListParams as $key => $value)
|
||||
{
|
||||
if (array_key_exists($passThroughKey, $aListParams))
|
||||
{
|
||||
$aExtraParams[$passThroughKey] = $aListParams[$passThroughKey];
|
||||
}
|
||||
$aExtraParams[$key] = $value;
|
||||
}
|
||||
|
||||
if (array_key_exists('table_inner_id', $aListParams))
|
||||
|
||||
Reference in New Issue
Block a user