From 56f528a5b8a85ff0b48f57cf64fd69297d2843cb Mon Sep 17 00:00:00 2001 From: Stanislas KITA Date: Mon, 13 Jun 2022 08:21:28 +0200 Subject: [PATCH] fix(searchoption): search number as text --- inc/container.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/inc/container.class.php b/inc/container.class.php index e651fd3c..1a19efd7 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -1631,10 +1631,8 @@ public static function getAddSearchOptions($itemtype, $containers_id = false) $opt[$i]['datatype'] = "bool"; break; case 'textarea': - $opt[$i]['datatype'] = "text"; - break; case 'number': - $opt[$i]['datatype'] = "decimal"; + $opt[$i]['datatype'] = "text"; break; case 'date': case 'datetime':