View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0023266 | mantisbt | custom fields | public | 2017-08-26 13:11 | 2017-10-08 23:52 | 
| Reporter | cproensa | Assigned To | cproensa | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed | ||
| Product Version | 2.6.0 | ||||
| Target Version | 2.7.0 | Fixed in Version | 2.7.0 | ||
| Summary | 0023266: Filter selection for numeric custom fields show values not coherent with custom field type | ||||
| Description | When custom fields with a number based type (numeric, float) are populated on filter form, the values shown may not match the actual field type. Attached example, of a float field, where invalid string values ("asdf") are populated. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| MantisBT: master d886a795 2017-08-26 04:42 Committer: dregad Details Diff | Cast custom fields distinct values Cast values for number based custom fields, when retrieving distinct values. This allows: - The values are sorted numerically on the list - The values returned match what will be shown in the custom field, in case of type mismatch. For example, when having text stored in a numeric field. Fixes: 0023265, 0023266 | Affected Issues 0023265, 0023266 | |
| mod - core/custom_field_api.php | Diff File | ||
