Skip to content

Commit

Permalink
fix: datatype number for search
Browse files Browse the repository at this point in the history
  • Loading branch information
MyvTsv committed Nov 18, 2024
1 parent 815ef13 commit 9c54624
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/container.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 9c54624

Please sign in to comment.