Skip to content

Commit cc1a8f4

Browse files
committed
fix date sorting so that it sorts the actual date and not the date string
1 parent c6d4728 commit cc1a8f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/javascript/src/dashboard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const defineCaseContactsTable = function () {
1010
searching: false,
1111
order: [[2, 'desc']],
1212
columnDefs: [
13+
{ type: 'date', targets: 2 },
1314
{ orderable: false, targets: [0, 1, -1] } // disable sort on bell, chevron, vertical elipses menu
1415
]
1516
}

0 commit comments

Comments
 (0)