Fixing some title/game text searches not working properly.
This commit is contained in:
@@ -329,7 +329,7 @@ public class BuiltLotroCardBlueprint implements LotroCardBlueprint {
|
||||
}
|
||||
else {
|
||||
this.fullName = title;
|
||||
this.sanitizedFullName = title;
|
||||
this.sanitizedFullName = sanitizedTitle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user