mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
Bugfix
This commit is contained in:
@@ -400,7 +400,11 @@ $config['employee'] = [
|
|||||||
'pid' => [
|
'pid' => [
|
||||||
'alias' => ['person_id'],
|
'alias' => ['person_id'],
|
||||||
'comparison' => 'equal-int',
|
'comparison' => 'equal-int',
|
||||||
'field' => "person_id"
|
'field' => "person_id",
|
||||||
|
'join' => [
|
||||||
|
'table' => "public.tbl_benutzer",
|
||||||
|
'on' => "uid = mitarbeiter_uid"
|
||||||
|
]
|
||||||
],
|
],
|
||||||
'oe' => [
|
'oe' => [
|
||||||
'alias' => ['ou', 'organisationseinheit', 'organisationunit'],
|
'alias' => ['ou', 'organisationseinheit', 'organisationunit'],
|
||||||
|
|||||||
@@ -242,7 +242,8 @@ class SearchBarLib
|
|||||||
" . $this->_ci->db->escape($type) . " AS type,
|
" . $this->_ci->db->escape($type) . " AS type,
|
||||||
rank,
|
rank,
|
||||||
TO_JSONB((SELECT x FROM (SELECT " . implode(", ", $table_config['resultfields'] ?? ['*']) . ") x)) AS data
|
TO_JSONB((SELECT x FROM (SELECT " . implode(", ", $table_config['resultfields'] ?? ['*']) . ") x)) AS data
|
||||||
FROM final_" . $type . ($table_config['resultjoin'] ?? "");
|
FROM final_" . $type . "
|
||||||
|
" . ($table_config['resultjoin'] ?? "");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$selects)
|
if (!$selects)
|
||||||
|
|||||||
Reference in New Issue
Block a user