From 388a265db71eafd22c96b196136da7e90ed637a1 Mon Sep 17 00:00:00 2001 From: Manfred Date: Mon, 15 May 2023 12:11:01 +0200 Subject: [PATCH] =?UTF-8?q?Neues=20Template=20"contentmittitel=5Ffilterwid?= =?UTF-8?q?get"=20in=20Suche=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/content.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/content.class.php b/include/content.class.php index f004bfb03..79d32c82c 100644 --- a/include/content.class.php +++ b/include/content.class.php @@ -1287,7 +1287,7 @@ class content extends basis_db sichtbar=true AND aktiv=true AND version = (SELECT campus.get_highest_content_version (content_id)) - AND template_kurzbz IN('contentmittitel','contentohnetitel','redirect')"; + AND template_kurzbz IN('contentmittitel','contentohnetitel','redirect','contentmittitel_filterwidget')"; foreach($searchItems as $value) { $qry .= " AND @@ -1309,7 +1309,7 @@ class content extends basis_db foreach($searchItems as $value) { $qry .= " AND - (template_kurzbz IN('contentmittitel','contentohnetitel') + (template_kurzbz IN('contentmittitel','contentohnetitel','contentmittitel_filterwidget') AND ( lower(content::text) like lower('%".$this->db_escape($value)."%')