(search) Fix failed refactoring
This commit is contained in:
parent
2515993536
commit
f796af1ae8
@ -156,9 +156,9 @@ public class SearchFilters {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public SearchTitleOption(SearchParameters parameters) {
|
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;
|
case TITLE -> SearchTitleParameter.DEFAULT;
|
||||||
default -> SearchTitleParameter.TITLE;
|
default -> SearchTitleParameter.TITLE;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user