(search) Fix failed refactoring

This commit is contained in:
Viktor Lofgren 2024-02-15 13:53:19 +01:00
parent 2515993536
commit f796af1ae8

View File

@ -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;
};