From 302effe42a30886304c9c0c1af1e660bf6532540 Mon Sep 17 00:00:00 2001 From: Manuel Soulier Date: Sun, 8 Oct 2023 05:14:38 +0200 Subject: [PATCH] fix: magic number VObjectService --- .../main/java/fr/insee/arc/web/gui/all/util/VObjectService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arc-web/src/main/java/fr/insee/arc/web/gui/all/util/VObjectService.java b/arc-web/src/main/java/fr/insee/arc/web/gui/all/util/VObjectService.java index ac15feece..15a0f2e7e 100644 --- a/arc-web/src/main/java/fr/insee/arc/web/gui/all/util/VObjectService.java +++ b/arc-web/src/main/java/fr/insee/arc/web/gui/all/util/VObjectService.java @@ -925,7 +925,7 @@ private void buildFilterNumeric(int headerIndex, ArcPreparedStatementBuilder s, s.append(expressionOR); } // on retire les dernier OR - s.setLength(s.length() - 3); + s.setLength(s.length() - expressionOR.length()); s.append(expressionAND); }