mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
Advanced Search: open/closed search form
SVN:b1162[5502]
This commit is contained in:
@@ -161,11 +161,17 @@ class SearchForm
|
||||
{
|
||||
$aListParams['table_id'] = $aExtraParams['table_id2'];
|
||||
}
|
||||
$bOpen = false;
|
||||
if (array_key_exists('open', $aExtraParams))
|
||||
{
|
||||
$bOpen = $aExtraParams['open'];
|
||||
}
|
||||
$aSearchParams = array(
|
||||
'criterion_outer_selector' => "#fs_{$sSearchFormId}_criterion_outer",
|
||||
'result_list_outer_selector' => "#{$aExtraParams['table_id']}",
|
||||
'data_config_list_selector' => "#{$sDataConfigListSelector}",
|
||||
'endpoint' => utils::GetAbsoluteUrlAppRoot().'pages/ajax.searchform.php',
|
||||
'open' => $bOpen,
|
||||
'date_format' => AttributeDateTime::GetFormat()->ToMomentJS(),
|
||||
'list_params' => $aListParams,
|
||||
'search' => array(
|
||||
|
||||
Reference in New Issue
Block a user