mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
WIP api controller backend; WIP adapting queries to new db schema;
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -124,6 +124,8 @@ export const CoreFilterAPIs = {
|
||||
*
|
||||
*/
|
||||
getFilter: function(wsParams) {
|
||||
console.log(wsParams)
|
||||
debugger
|
||||
return CoreRESTClient.get(
|
||||
'components/Filter/getFilter',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user