save user preferences

This commit is contained in:
Anne-Cath
2025-01-16 23:46:41 +01:00
parent 941af287d7
commit a25cd7b201
2 changed files with 71 additions and 12 deletions

View File

@@ -76,7 +76,10 @@ class AuditFilterField extends cmdbAbstractObject
$sHtml .= '<li><i>:' . $oAuditFilter->Get('placeholder') . '</i> for ' . $oAuditFilter->Get('label') . '</li>';
}
$sHtml .= '</ul>';
$oPage->AddUiBlock(AlertUIBlockFactory::MakeForInformation('In OQL query, you can use this placeholders:', '')->AddSubBlock(new Html($sHtml)));
$oInfoBlock = AlertUIBlockFactory::MakeForInformation('In OQL query, you can use this placeholders:', '')
->AddSubBlock(new Html($sHtml))
->SetOpenedByDefault(false);
$oPage->AddUiBlock($oInfoBlock);
}
}