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];