How to list empty dates as last / oldest
How to list empty dates as last / oldest
Chrom
Posts: 44Questions: 15Answers: 1
I am sorting dates with moment. But when the date field is empty then they get shown as newest.
How can I make them treated as oldest?
This question has an accepted answers - jump to answer
Answers
If you take a look at the plugin:
https://datatables.net/plug-ins/sorting/datetime-moment
It has a reverseEmpties option.
Just give it a try with "true" or "false".