Skip to content

Commit

Permalink
fixed edge-case sorting bug in current predicions
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dale committed Oct 23, 2020
1 parent 0d184ae commit ef29b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/assets/js/current_pred_nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async function add_table_func() {
{ data: 'fn_ratio', render: dec_fmt},
{ data: 't_date',
render: function ( data, type, row ) {
if ( type === 'display' || type === 'filter' ) {
if ( type === 'display' || type === 'filter' || type === 'sort' ) {
var d;
if (date_patt.test(data)) {
d = new Date( data );
Expand Down

0 comments on commit ef29b37

Please sign in to comment.