Skip to content

Commit

Permalink
fix(searchoption): search number as text
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz authored and cedric-anne committed Jun 13, 2022
1 parent eea4916 commit 56f528a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions inc/container.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 56f528a

Please sign in to comment.