N°331 - L'ordre de tri des tickets change au rechargement auto - add ability to give to Menu how to refresh the panel

This commit is contained in:
acognet
2021-01-28 11:02:56 +01:00
parent 2eae1e81d1
commit ff44fcdfe0
3 changed files with 8 additions and 2 deletions

View File

@@ -108,6 +108,7 @@ class DataTableUIBlockFactory extends AbstractUIBlockFactory
{
if (!isset($aExtraParams['menu']) || $aExtraParams['menu']) {
$oMenuBlock = new MenuBlock($oSet->GetFilter(), $sStyle);
$aExtraParams['sRefreshAction'] = $oDataTable->GetJSRefresh()[0];
$oBlockMenu = $oMenuBlock->GetRenderContent($oPage, $aExtraParams, $sListId);
} else {
$oBlockMenu = new UIContentBlock();