Fix CollationKey creation - fixes #753
This commit is contained in:
parent
163546de94
commit
32773122c4
@ -71,8 +71,8 @@ public class StringCriterion extends Criterion {
|
|||||||
return new KeyMaker() {
|
return new KeyMaker() {
|
||||||
@Override
|
@Override
|
||||||
protected Object makeKey(Object value) {
|
protected Object makeKey(Object value) {
|
||||||
return (ExpressionUtils.isNonBlankData(value) && !(value instanceof String)) ?
|
return collator.getCollationKey((ExpressionUtils.isNonBlankData(value)
|
||||||
collator.getCollationKey(value.toString()) : value;
|
&& !(value instanceof String)) ? value.toString() : (String) value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user