From c3a3125e49ad9b1567a690171104c6926eae1a98 Mon Sep 17 00:00:00 2001 From: Manfred Kindl Date: Fri, 26 Jul 2019 13:41:19 +0200 Subject: [PATCH] =?UTF-8?q?Suche=20nach=20direkten=20IDs=20vor=C3=BCbergeh?= =?UTF-8?q?end=20auskommentiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/dms.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/dms.class.php b/include/dms.class.php index 98cfbdd9a..01e7e2498 100644 --- a/include/dms.class.php +++ b/include/dms.class.php @@ -746,13 +746,13 @@ class dms extends basis_db JOIN campus.tbl_dms_version USING(dms_id) JOIN campus.tbl_dms_kategorie USING (kategorie_kurzbz)"; // Wenn erstes Zeichen # ist, dieses wegkürzen und checken ob der Rest numerisch ist. Dann nach eindeutiger ID suchen - if (substr($suchstring, 0, 1) == '#') + /*if (substr($suchstring, 0, 1) == '#') { $suchstring = substr($suchstring, 1); if (is_numeric($suchstring)) $qry .= " WHERE tbl_dms.dms_id = ".$this->db_add_param($suchstring, FHC_INTEGER); } - else + else*/ { $qry .= " WHERE lower(name) like lower('%".$this->db_escape($suchstring)."%') OR lower(tbl_dms_version.beschreibung) like lower('%".$this->db_escape($suchstring)."%')