diff --git a/code/services-application/search-service/src/main/java/nu/marginalia/search/model/SearchFilters.java b/code/services-application/search-service/src/main/java/nu/marginalia/search/model/SearchFilters.java index 9e02ff2b..6b2f3015 100644 --- a/code/services-application/search-service/src/main/java/nu/marginalia/search/model/SearchFilters.java +++ b/code/services-application/search-service/src/main/java/nu/marginalia/search/model/SearchFilters.java @@ -156,9 +156,9 @@ public class SearchFilters { } public SearchTitleOption(SearchParameters parameters) { - this.value = parameters.title(); + this.value = parameters.searchTitle(); - var toggledValue = switch (parameters.title()) { + var toggledValue = switch (parameters.searchTitle()) { case TITLE -> SearchTitleParameter.DEFAULT; default -> SearchTitleParameter.TITLE; };