From c43805f6d23921afe0b9ab731bfbc6a1cde3aa02 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 4 Jul 2020 12:54:15 -0500 Subject: [PATCH] fix(web): enable sorting Description column, fixes #1518 --- web/src/components/listsTable/ListsTable.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/components/listsTable/ListsTable.tsx b/web/src/components/listsTable/ListsTable.tsx index a4fe442cf..c1f9af73f 100644 --- a/web/src/components/listsTable/ListsTable.tsx +++ b/web/src/components/listsTable/ListsTable.tsx @@ -114,6 +114,7 @@ export const ListsTable = (props: RouteComponentProps & Props) => { title="Description" key="Description" dataIndex={nameof("description")} + sorter={(a, b) => a.description.localeCompare(b.description)} width={ !tablePageSize.isNarrowWindow && !tablePageSize.isWideWindow ? 423