From 9a99cb669892ccb802f7ca9ed15ca9dcc35504b4 Mon Sep 17 00:00:00 2001 From: Tyler Adam Martinez Date: Thu, 30 Apr 2026 11:28:55 -0500 Subject: [PATCH] feat(thing/list): Switch search from name_contains to query --- src/pages/ocotillo/thing/list.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/ocotillo/thing/list.tsx b/src/pages/ocotillo/thing/list.tsx index b29c4f7b..aa1eeeb8 100644 --- a/src/pages/ocotillo/thing/list.tsx +++ b/src/pages/ocotillo/thing/list.tsx @@ -81,7 +81,7 @@ export const WellList: React.FC = () => { meta: { params: { include_contacts: true, - ...(search ? { name_contains: search } : {}), + ...(search ? { query: search } : {}), }, }, pagination: { pageSize: 50 }, @@ -265,7 +265,8 @@ export const WellList: React.FC = () => { { field: 'well_driller_name', headerName: WellListColumnLabels.driller, - description: 'Drilling company name when it was recorded for this well.', + description: + 'Drilling company name when it was recorded for this well.', type: 'string', minWidth: 150, flex: 1,