diff --git a/src/features/search/filter-rows.ts b/src/features/search/filter-rows.ts index a0693b8..59be02c 100644 --- a/src/features/search/filter-rows.ts +++ b/src/features/search/filter-rows.ts @@ -55,8 +55,8 @@ export function filterShinryoukouiRow(row: string[], item: NormalizedFilterItem) if (item.codeValue && getValue(row, codeField) === item.codeValue) { return true; } - if (item.kanaValue) { - return getValue(row, kanaField).includes(item.kanaValue); + if (item.kanaValue && getValue(row, kanaField).includes(item.kanaValue)) { + return true; } return getValue(row, nameField).includes(item.fullWidthValue) || getValue(row, fullnameField).includes(item.fullWidthValue); }