From a175b3638276d2c6a9c464b2fa69ab3c2abeace4 Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Thu, 15 Feb 2024 18:16:56 +0100 Subject: [PATCH] (search) Correct accidental regression of the SmallWeb filter --- .../main/java/nu/marginalia/search/SearchQueryParamFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/services-application/search-service/src/main/java/nu/marginalia/search/SearchQueryParamFactory.java b/code/services-application/search-service/src/main/java/nu/marginalia/search/SearchQueryParamFactory.java index 69a9a97a..59cd1088 100644 --- a/code/services-application/search-service/src/main/java/nu/marginalia/search/SearchQueryParamFactory.java +++ b/code/services-application/search-service/src/main/java/nu/marginalia/search/SearchQueryParamFactory.java @@ -31,7 +31,7 @@ public class SearchQueryParamFactory { prototype.searchTermsAdvice, profile.getQualityLimit(), profile.getYearLimit(), - userParams.yearLimit(), + profile.getSizeLimit(), SpecificationLimit.none(), SpecificationLimit.none(), List.of(),