mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-06 09:34:13 +01:00
N°4119 - Loose application context in advanced search ajax call
This commit is contained in:
@@ -780,7 +780,7 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory
|
||||
"select_mode" => $sSelectMode,
|
||||
]);
|
||||
|
||||
|
||||
$oAppContext = new ApplicationContext();
|
||||
$aOptions = array_merge($aOptions, [
|
||||
"language" =>
|
||||
[
|
||||
@@ -815,7 +815,7 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory
|
||||
"columns" => $aColumnsDefinitions,
|
||||
"allColumns" => $aColumns,
|
||||
'ajax' => '$.fn.dataTable.pipeline( {
|
||||
"url": "ajax.render.php",
|
||||
"url": "ajax.render.php?'.$oAppContext->GetForLink().'",
|
||||
"data": '.$sAjaxData.',
|
||||
"method": "post",
|
||||
"pages": 5 // number of pages to cache
|
||||
|
||||
Reference in New Issue
Block a user