WIP api controller backend; WIP adapting queries to new db schema;

This commit is contained in:
Johann Hoffmann
2024-02-22 10:30:18 +01:00
parent afa00caa4c
commit 63a06dfef2
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -177,7 +177,7 @@ class FilterCmptLib
$session = $this->getSession();
// If session is NOT empty -> a filter was already loaded
if ($session != null)
if (false && $session != null)
{
// Retrieve the filterId stored in the session
$sessionFilterId = $this->_getSessionElement(FilterCmptLib::FILTER_ID);
@@ -221,7 +221,7 @@ class FilterCmptLib
}
// If the session is empty -> first time that this filter is loaded
if ($session == null)
if (true || $session == null)
{
// Load filter definition data from DB
$definition = $this->_loadDefinition(
@@ -565,6 +565,7 @@ class FilterCmptLib
getAuthPersonId()
);
// If filters were loaded
if (hasData($filters))
{