- Fixed text filter of the deck editor being case sensitive.

This commit is contained in:
Sloth
2012-09-24 20:05:07 +00:00
parent 27ca889746
commit 3f93543643

View File

@@ -325,11 +325,11 @@ public class SFilterUtil {
final List<Predicate<CardPrinted>> subands = new ArrayList<Predicate<CardPrinted>>();
if (useName) { subands.add(Predicate.brigde(CardRules.Predicates.name(
StringOp.CONTAINS, s), CardPrinted.FN_GET_RULES)); }
StringOp.CONTAINS_IC, s), CardPrinted.FN_GET_RULES)); }
if (useType) { subands.add(Predicate.brigde(CardRules.Predicates.joinedType(
StringOp.CONTAINS, s), CardPrinted.FN_GET_RULES)); }
StringOp.CONTAINS_IC, s), CardPrinted.FN_GET_RULES)); }
if (useText) { subands.add(Predicate.brigde(CardRules.Predicates.rules(
StringOp.CONTAINS, s), CardPrinted.FN_GET_RULES)); }
StringOp.CONTAINS_IC, s), CardPrinted.FN_GET_RULES)); }
ands.add(Predicate.or(subands));
}