Merge branch 'feature-3334/FilterWidget_remove_old_filters_session_cached'

This commit is contained in:
Andreas Österreicher
2020-01-08 15:53:29 +01:00
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -19,6 +19,7 @@ class TableWidgetLib
const SESSION_CHECKBOXES = 'checkboxes';
const SESSION_METADATA = 'datasetMetadata';
const SESSION_ROW_NUMBER = 'rowNumber';
const SESSION_TIMEOUT = 'sessionTimeout';
// Session dataset elements
const SESSION_DATASET = 'dataset';
+1 -1
View File
@@ -341,7 +341,7 @@ class TableWidget extends Widget
// To be always stored in the session, otherwise is not possible to load data from Filters controller
$this->tablewidgetlib->setSessionElement(TableWidgetLib::REQUIRED_PERMISSIONS, $this->_requiredPermissions);
// Renew or set the session expiring time
$this->filterwidgetlib->setSessionElement(TableWidgetLib::SESSION_TIMEOUT, strtotime('+'.$this->_sessionTimeout.' minutes', time()));
$this->tablewidgetlib->setSessionElement(TableWidgetLib::SESSION_TIMEOUT, strtotime('+'.$this->_sessionTimeout.' minutes', time()));
}
/**