mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°2737 - Migrate table to DataTables plugin to be iso with the end-users portal - fix actions doesn't work after class change
This commit is contained in:
@@ -214,7 +214,7 @@ function DisplaySearchSet($oP, $oFilter, $bSearchForm = true, $sBaseClass = '',
|
||||
//search block
|
||||
$oBlockForm = null;
|
||||
if ($bSearchForm) {
|
||||
$aParams = array('open' => $bSearchFormOpen, 'table_id' => '1');
|
||||
$aParams = array('open' => $bSearchFormOpen, 'table_id' => 'result_1');
|
||||
if (!empty($sBaseClass)) {
|
||||
$aParams['baseClass'] = $sBaseClass;
|
||||
}
|
||||
@@ -245,7 +245,7 @@ function DisplaySearchSet($oP, $oFilter, $bSearchForm = true, $sBaseClass = '',
|
||||
$sTableId = 'result_1';
|
||||
}
|
||||
$aExtraParams['table_id'] = $sTableId;
|
||||
$oUIBlockForm = $oBlockForm->GetDisplay($oP, 'search_1');
|
||||
$oUIBlockForm = $oBlockForm->GetDisplay($oP, 'search_1',$aExtraParams);
|
||||
//add result block
|
||||
$oUIBlock = $oBlock->GetDisplay($oP, $sTableId);
|
||||
$oUIBlock->AddCSSClasses("display_block sf_results_area");
|
||||
|
||||
Reference in New Issue
Block a user