mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°4007 - When a search is on auto submit, auto submit it also on first display - new fix in order to avoid reload in case of OQLMenuNode -add param in searchFormHandler
This commit is contained in:
@@ -227,6 +227,7 @@ class SearchForm
|
||||
{
|
||||
$aListParams['table_inner_id'] = "table_inner_id_{$sSearchFormId}";
|
||||
}
|
||||
$bSubmitOnLoad = (isset($aExtraParams['submit_on_load'])) ? $aExtraParams['submit_on_load'] : false;
|
||||
|
||||
$sDebug = utils::ReadParam('debug', 'false', false, 'parameter');
|
||||
if ($sDebug == 'true')
|
||||
@@ -250,6 +251,7 @@ class SearchForm
|
||||
'data_config_list_selector' => "#{$aExtraParams['result_list_outer_selector']}",
|
||||
'endpoint' => utils::GetAbsoluteUrlAppRoot().'pages/ajax.searchform.php?'.$sContext,
|
||||
'init_opened' => $bOpen,
|
||||
'submit_on_load' => $bSubmitOnLoad,
|
||||
'auto_submit' => $bAutoSubmit,
|
||||
'list_params' => $aListParams,
|
||||
'show_obsolete_data' => $bShowObsoleteData,
|
||||
|
||||
Reference in New Issue
Block a user