From fc38470bd17d9d736df40c7fa99678aa64f89d84 Mon Sep 17 00:00:00 2001 From: Tyler Ohlsen Date: Fri, 3 Apr 2020 16:13:50 -0700 Subject: [PATCH] Add sorting functionality on all fields in table --- public/pages/DetectorsList/utils/tableUtils.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/pages/DetectorsList/utils/tableUtils.tsx b/public/pages/DetectorsList/utils/tableUtils.tsx index c1792d17..c87723a7 100644 --- a/public/pages/DetectorsList/utils/tableUtils.tsx +++ b/public/pages/DetectorsList/utils/tableUtils.tsx @@ -129,7 +129,7 @@ export const staticColumn = [ ), - sortable: false, + sortable: true, dataType: 'number', align: 'right', width: '100px', @@ -149,7 +149,7 @@ export const staticColumn = [ ), - sortable: false, + sortable: true, dataType: 'date', width: '100px', align: 'left', @@ -170,7 +170,7 @@ export const staticColumn = [ ), - sortable: false, + sortable: true, dataType: 'date', width: '100px', align: 'left',