MantisBT: master dc68e440

Author Committer Branch Timestamp Parent
cproensa dregad master 2017-08-25 16:03 master 9d24d04e
Affected Issues  0006872: Sort of custom fields does not use data type
 0023260: Custom fields of type date are not sorted correctly
Changeset

Fix sorting for number based custom fields

For types numeric, float, and dates

  • Make nulls appear last in the ordered result.
  • Cast the values to sort them numerically.

Fixes: 0023260, 0006872

mod - core/filter_api.php Diff File