diff --git a/gulliver/methods/propelTableAjax.php b/gulliver/methods/propelTableAjax.php index a0f06a5cc..d76a17f72 100755 --- a/gulliver/methods/propelTableAjax.php +++ b/gulliver/methods/propelTableAjax.php @@ -78,7 +78,7 @@ //order by $orderBy = get_ajax_value('order'); if (isset($orderBy)) { - $orderBy = urldecode($orderBy); + $orderBy = urldecode($orderBy); $ntable->orderBy = $orderBy; } @@ -126,11 +126,16 @@ return ; } - $ntable->renderTable( 'content' ); +$ntable->renderTable("content"); - G::LoadClass('configuration'); - $conf = new Configurations(); - $conf->setConfig($ntable->__Configuration,$ntable,$conf->aConfig); - $conf->saveConfig('pagedTable',$ntable->__OBJ_UID,'',$_SESSION['USER_LOGGED'],''); +G::LoadClass("configuration"); + +$conf = new Configurations(); +$conf->setConfig($ntable->__Configuration, $ntable, $conf->aConfig); + +if (isset($_SESSION["USER_LOGGED"])) { + $conf->saveConfig("pagedTable", $ntable->__OBJ_UID, "", $_SESSION["USER_LOGGED"], ""); +} else { + $conf->saveConfig("pagedTable", $ntable->__OBJ_UID); +} -?> diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index 4fe42dff7..56514f8fb 100755 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -892,6 +892,7 @@ if (! defined( 'EXECUTE_BY_CRON' )) { $noLoginFiles[] = 'cases_NextStep'; $noLoginFiles[] = 'genericAjax'; $noLoginFiles[] = 'casesSaveDataView'; + $noLoginFiles[] = "propelTableAjax"; $noLoginFolders[] = 'services'; $noLoginFolders[] = 'tracker';