From 7b05c30ab604a4da112ba99a974968381d227ea9 Mon Sep 17 00:00:00 2001 From: goulven Date: Fri, 6 Dec 2024 09:13:51 +0100 Subject: [PATCH] Allowing no ecoscored on vertical search --- .../org/open4goods/ui/controllers/ui/VerticalController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/main/java/org/open4goods/ui/controllers/ui/VerticalController.java b/ui/src/main/java/org/open4goods/ui/controllers/ui/VerticalController.java index bb63042ad..09eb12f6b 100644 --- a/ui/src/main/java/org/open4goods/ui/controllers/ui/VerticalController.java +++ b/ui/src/main/java/org/open4goods/ui/controllers/ui/VerticalController.java @@ -76,7 +76,7 @@ protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpSer vRequest.setSortOrder("desc"); vRequest.getNumericFilters().add(new NumericRangeFilter("offersCount", 1.0, 10000.0, 1.0, false)); vRequest.getNumericFilters().add(new NumericRangeFilter("price.minPrice.price", 0.0001, 500000.0, 100.0, false)); - vRequest.getNumericFilters().add(new NumericRangeFilter("scores.ECOSCORE.value", 0.0001, 500000.0, 0.1, false)); + vRequest.getNumericFilters().add(new NumericRangeFilter("scores.ECOSCORE.value", 0.0001, 500000.0, 0.1, true));