|
|
@ -814,7 +814,7 @@ function sortTable(column) {
|
|
|
|
sortState?.ascending ?? unreachable() : (
|
|
|
|
sortState?.ascending ?? unreachable() : (
|
|
|
|
sortingNewColumn
|
|
|
|
sortingNewColumn
|
|
|
|
? columnAscendingByDefault(column)
|
|
|
|
? columnAscendingByDefault(column)
|
|
|
|
: sortState?.ascending ?? unreachable()
|
|
|
|
: !sortState?.ascending ?? unreachable()
|
|
|
|
);
|
|
|
|
);
|
|
|
|
const compare = makeRowComparer(sortedColumn, ascending);
|
|
|
|
const compare = makeRowComparer(sortedColumn, ascending);
|
|
|
|
const rows = dom.tbl_communities_content_rows().map(row => ({row, identifier: row.getAttribute(ATTRIBUTES.ROW.IDENTIFIER)}));
|
|
|
|
const rows = dom.tbl_communities_content_rows().map(row => ({row, identifier: row.getAttribute(ATTRIBUTES.ROW.IDENTIFIER)}));
|
|
|
|