mirror of
https://github.com/moodle/moodle.git
synced 2025-04-07 17:33:18 +02:00
Merge branch 'MDL-80286-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
9e1916ba09
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user