diff --git a/apps/infoalloggi/package.json b/apps/infoalloggi/package.json index 8550490..1b2c8f9 100644 --- a/apps/infoalloggi/package.json +++ b/apps/infoalloggi/package.json @@ -158,4 +158,4 @@ } } } -} \ No newline at end of file +} diff --git a/apps/infoalloggi/src/components/tables/users-table.tsx b/apps/infoalloggi/src/components/tables/users-table.tsx index 2a6fd69..b6a5b4b 100644 --- a/apps/infoalloggi/src/components/tables/users-table.tsx +++ b/apps/infoalloggi/src/components/tables/users-table.tsx @@ -189,7 +189,9 @@ export const UsersTable = (props: { data: UserWChatInfo[] }) => { }, { - accessorKey: "telefono", + accessorFn: (row) => + `${row.telefono} ${row.nome} ${row.extra_telefono_numero} ${row.extra_telefono_titolo}`, + id: "telefono", // ID is required when using accessorFn header: ({ column }) => ( { ); }, + filterFn: "includesString", }, { accessorKey: "email",