From 9fce37f022ae1cf3f679c2616732ca8526bab5ab Mon Sep 17 00:00:00 2001 From: Rom1-B Date: Tue, 1 Oct 2024 16:02:12 +0200 Subject: [PATCH] fix: datatype for search --- inc/container.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/container.class.php b/inc/container.class.php index 7acaf914..e56e812f 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -1941,9 +1941,9 @@ public static function getAddSearchOptions($itemtype, $containers_id = false) $opt[$i]['datatype'] = "bool"; break; case 'textarea': - case 'number': $opt[$i]['datatype'] = "text"; break; + case 'number': case 'date': case 'datetime': $opt[$i]['datatype'] = $data['type'];