Fixing some title/game text searches not working properly.

This commit is contained in:
Christian 'ketura' McCarty
2024-11-08 12:08:09 -06:00
parent 1f68e95fb2
commit 9f0afffc9b
2 changed files with 3 additions and 2 deletions

View File

@@ -329,7 +329,7 @@ public class BuiltLotroCardBlueprint implements LotroCardBlueprint {
}
else {
this.fullName = title;
this.sanitizedFullName = title;
this.sanitizedFullName = sanitizedTitle;
}
}

View File

@@ -341,8 +341,9 @@ public class SortAndFilterCards {
if(cardData == null || cardData.isEmpty())
return false;
cardData = cardData.toLowerCase();
for (String word : words) {
if (!cardData.contains(word))
if (!cardData.contains(word.toLowerCase()))
return false;
}
return true;