CMS Search

This commit is contained in:
cgfhtw
2024-10-14 11:22:20 +02:00
parent 322544c7fb
commit 123f29a750
9 changed files with 298 additions and 7 deletions
+6
View File
@@ -168,6 +168,9 @@ class SearchBarLib
FROM public.tbl_sprache
WHERE sprache=" . $this->_ci->db->escape($lang) . "
LIMIT 1
),
auth (uid) AS (
SELECT " . $this->_ci->db->escape(getAuthUID()) . " AS uid
)";
if ($sql_with) {
@@ -248,6 +251,9 @@ class SearchBarLib
WHERE sprache=" . $this->_ci->db->escape($lang) . "
LIMIT 1
)");
array_unshift($with, "auth (uid) AS (
SELECT " . $this->_ci->db->escape(getAuthUID()) . " AS uid
)");
return success("
WITH " . implode(", ", $with) . "