Date column sorting alphabetically
-
I’m using PDB to display a list of records and it all works great, except for date. The first column is a date, and I need to be able to sort by that.
In PDB->Manage Database Fields, I have set that column to type “Date Field”. When I look at the data, I see dates in the format of Month day, year (i.e. March 1, 2018). This is the format that they are displayed on the page as well.The problem is that the table sorts this column as though it was text- it doesn’t treat it as dates. If I was writing the datatables JS, I know how to tell it the data type for a given column, but how do I get your plugin to set it?
Thanks for providing a very handy plugin!
The page I need help with: [log in to see the link]
- The topic ‘Date column sorting alphabetically’ is closed to new replies.