mirror of
https://github.com/Combodo/iTop.git
synced 2026-03-16 22:44:13 +01:00
🐛 DataTableFactory : fix ajax.render URL generation
Was created without approot
This commit is contained in:
@@ -20,6 +20,7 @@ use Dict;
|
||||
use MenuBlock;
|
||||
use MetaModel;
|
||||
use UserRights;
|
||||
use utils;
|
||||
use WebPage;
|
||||
|
||||
/**
|
||||
@@ -330,7 +331,7 @@ class DataTableFactory
|
||||
$aOptions['oClassAliases'] = json_encode($aClassAliases);
|
||||
|
||||
$oDataTable->SetOptions($aOptions);
|
||||
$oDataTable->SetAjaxUrl("ajax.render.php");
|
||||
$oDataTable->SetAjaxUrl(utils::GetAbsoluteUrlAppRoot()."pages/ajax.render.php");
|
||||
$oDataTable->SetAjaxData(json_encode([
|
||||
"operation" => 'search',
|
||||
"filter" => $oSet->GetFilter()->serialize(),
|
||||
|
||||
Reference in New Issue
Block a user