diff --git a/CHANGELOG.md b/CHANGELOG.md index cf784055..9d78d4d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [UNRELAESE] ### Fixed +- Force decimal ‘datatype’ of `numeric` fields for more accurate display. - Do not destroy the dropdown table/class if it is being used by another container. - Fix fields updates with multiple containers via the API. diff --git a/inc/container.class.php b/inc/container.class.php index ca508c01..90dbab26 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -1957,6 +1957,8 @@ public static function getAddSearchOptions($itemtype, $containers_id = false) $opt[$i]['datatype'] = 'text'; break; case 'number': + $opt[$i]['datatype'] = 'decimal'; + break; case 'date': case 'datetime': $opt[$i]['datatype'] = $data['type'];