From a60e21eb041d3f245af6cdb4dc87716096f4d0a8 Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Fri, 3 Apr 2026 12:04:08 +0200 Subject: [PATCH] fix: exclude suspended products from supplier grid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add WHERE NOT COALESCE(af.suspendu::boolean, false) AND NOT COALESCE(a.suspendu::boolean, false) to pgGetArticlesByFournisseur — products flagged as suspended in artfou1 or articles table are no longer shown in the grid. Co-Authored-By: Claude Sonnet 4.6 --- src/lib/pg-ff-client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/pg-ff-client.ts b/src/lib/pg-ff-client.ts index 323096c..8c345df 100644 --- a/src/lib/pg-ff-client.ts +++ b/src/lib/pg-ff-client.ts @@ -151,6 +151,8 @@ export async function pgGetArticlesByFournisseur(codefou: string): Promise