From 3ff0c301c8af59d2cc3bd6b17d47e1a9b20c3e5a Mon Sep 17 00:00:00 2001 From: Luke De Feo Date: Mon, 21 Aug 2023 05:59:44 -0700 Subject: [PATCH] Use exact mode when user explicitly filters on a column Summary: Using substring doesnt make sense for these actions. As you say I want to filer on this cell but it includes many others Reviewed By: aigoncharov Differential Revision: D48515476 fbshipit-source-id: b7a77c022052bb33e2ce2a3f656dabab114d8a78 --- desktop/flipper-plugin/src/ui/data-table/DataTableManager.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/flipper-plugin/src/ui/data-table/DataTableManager.tsx b/desktop/flipper-plugin/src/ui/data-table/DataTableManager.tsx index 90b5fd8fb..7c659c7c5 100644 --- a/desktop/flipper-plugin/src/ui/data-table/DataTableManager.tsx +++ b/desktop/flipper-plugin/src/ui/data-table/DataTableManager.tsx @@ -353,6 +353,7 @@ export const dataTableManagerReducer = produce< getValueAtPath(item, String(action.column)), { disableOthers: index === 0, // remove existing filters before adding the first + exact: true, }, ); });