mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- Fixed text filter of the deck editor being case sensitive.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user