From f796af1ae85c24dd17d291964afca69c2dcc7f61 Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Thu, 15 Feb 2024 13:53:19 +0100 Subject: [PATCH] (search) Fix failed refactoring --- .../main/java/nu/marginalia/search/model/SearchFilters.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; };