From de46e056d22fef295fb4deb4ed56a96206aab813 Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Fri, 3 Apr 2026 12:07:07 +0200 Subject: [PATCH] fix: robustify suspended product filter using ::text cast The previous ::boolean cast caused query failure when suspendu column is not a native boolean type. Casting to ::text first handles all column types (char, varchar, int, boolean). Co-Authored-By: Claude Sonnet 4.6 --- src/lib/pg-ff-client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/pg-ff-client.ts b/src/lib/pg-ff-client.ts index 8c345df..51bbf60 100644 --- a/src/lib/pg-ff-client.ts +++ b/src/lib/pg-ff-client.ts @@ -151,8 +151,8 @@ export async function pgGetArticlesByFournisseur(codefou: string): Promise