Sort on rendered date field not working in Firefox

Sort on rendered date field not working in Firefox

danomalleydanomalley Posts: 2Questions: 1Answers: 0
edited May 2019 in Free community support

Test page: http://www.timelash.com/iqo/player.php?22

This page has 2 datatables, each with a YYYY-MM-DD date column rendered using Moments.js to display the date in friendly "monthname year" format while still allowing it to be sorted as a date field. This all works fine in Chrome and on mobile. Problem is, the sort doesn't work in Firefox. For me, clicking the column header of that Month column toggles the up/down arrow but the data itself doesn't refresh.

The sort works for all other columns, and if I remove the moments.js rendering, the sort works for the date column too. So if there's an alternative way to render the date then I'm open to suggestions.

But I just thought it was a curious bug since it seems to be specific to Firefox. (I'm using Firefox 67.0 by the way) Can anyone replicate this.... and/or polint out anything obvious I may be doing wrong?

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.