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(),