Skip to content

Commit

Permalink
fix: datatype for search (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rom1-B authored Oct 1, 2024
1 parent adf8ad1 commit 7ceec63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/container.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 7ceec63

Please sign in to comment.