Skip to content

Commit

Permalink
Fix: #5067 - date columns sorting incorrectly in individual/family ta…
Browse files Browse the repository at this point in the history
…bles
  • Loading branch information
fisharebest committed Dec 3, 2024
1 parent 84df132 commit 7e5ac03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/lists/families-table.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $("#<?= e($table_id) ?> > .wt-table-family").dataTable({
/* Given names */ { type: "text" },
/* Surnames */ { type: "text" },
/* Age */ { type: "num" },
/* Marriage date */ { type: "num" },
/* Marriage date */ { type: "text" },
/* Anniversary */ { type: "num" },
/* Marriage place */ { type: "text" },
/* Children */ { type: "num" },
Expand Down
4 changes: 2 additions & 2 deletions resources/views/lists/individuals-table.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ $("#<?= e($table_id) ?> > .wt-table-individual").dataTable({
/* Given names */ { type: "text" },
/* Surnames */ { type: "text" },
/* SOSA number */ { type: "num", visible: <?= json_encode($sosa, JSON_THROW_ON_ERROR) ?> },
/* Birth date */ { type: "num" },
/* Birth date */ { type: "text" },
/* Anniversary */ { type: "num" },
/* Birthplace */ { type: "text" },
/* Children */ { type: "num" },
/* Deate date */ { type: "num" },
/* Deate date */ { type: "text" },
/* Anniversary */ { type: "num" },
/* Age */ { type: "num" },
/* Death place */ { type: "text" },
Expand Down

0 comments on commit 7e5ac03

Please sign in to comment.