Merge branch 'MDL-80286-402' of https://github.com/paulholden/moodle into MOODLE_402_STABLE
This commit is contained in:
@@ -198,7 +198,7 @@ class data_field_date extends data_field_base {
|
||||
|
||||
function get_sort_sql($fieldname) {
|
||||
global $DB;
|
||||
return $DB->sql_cast_char2int($fieldname, true);
|
||||
return $DB->sql_cast_char2real($fieldname, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user