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'];