mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Bugfix
This commit is contained in:
@@ -400,7 +400,11 @@ $config['employee'] = [
|
||||
'pid' => [
|
||||
'alias' => ['person_id'],
|
||||
'comparison' => 'equal-int',
|
||||
'field' => "person_id"
|
||||
'field' => "person_id",
|
||||
'join' => [
|
||||
'table' => "public.tbl_benutzer",
|
||||
'on' => "uid = mitarbeiter_uid"
|
||||
]
|
||||
],
|
||||
'oe' => [
|
||||
'alias' => ['ou', 'organisationseinheit', 'organisationunit'],
|
||||
|
||||
@@ -242,7 +242,8 @@ class SearchBarLib
|
||||
" . $this->_ci->db->escape($type) . " AS type,
|
||||
rank,
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user