Merge branch 'develop' into SessionManagement

This commit is contained in:
Eric Espie
2021-09-07 16:33:10 +02:00
75 changed files with 1018 additions and 360 deletions

View File

@@ -62,7 +62,7 @@ class AjaxRenderController
$oSet->SetShowObsoleteData($bShowObsoleteData);
$aResult["draw"] = $iDrawNumber;
$aResult["recordsTotal"] = $oSet->Count();
$aResult["recordsFiltered"] = $oSet->Count();
$aResult["recordsFiltered"] = $aResult["recordsTotal"] ;
$aResult["data"] = [];
while ($aObject = $oSet->FetchAssoc()) {
$aObj = [];
@@ -79,7 +79,7 @@ class AjaxRenderController
}
}
}
if (isset($aObj)) {
if (!empty($aObj)) {
if ($sIdName != "") {
if (isset($aObj[$sIdName])) {
$aObj["id"] = $aObj[$sIdName];

View File

@@ -116,6 +116,14 @@ class ActivityPanelController
'html_rendering' => $sEntryAsHtml,
];
}
// Invoke extensions after the update of the object from the activity form
/** @var \iApplicationUIExtension $oExtensionInstance */
foreach(MetaModel::EnumPlugins('iApplicationUIExtension') as $oExtensionInstance)
{
$oExtensionInstance->OnFormSubmit($oObject);
}
$oObject->DBWrite();
// Finalize inline images