CardCriteria: fix subtype

This commit is contained in:
Alex W. Jackson 2021-12-24 03:06:33 -05:00
parent 881fdcaa08
commit a4ced51058

View file

@ -264,7 +264,7 @@ public class CardCriteria {
}
for (SubType subType : subtypes) {
where.like("subtypes", new SelectArg('%' + subType.name() + '%'));
where.like("subtypes", new SelectArg('%' + subType.toString() + '%'));
clausesCount++;
}