mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-01 10:47:37 +08:00
PL-7366 Invalid custom conditions query in generic filter
This commit is contained in:
parent
15ce19184e
commit
0c8e21c3f8
@ -57,7 +57,7 @@ public class ConditionParamBuilderImpl implements ConditionParamBuilder{
|
|||||||
@Override
|
@Override
|
||||||
public String createParamName(AbstractCondition condition) {
|
public String createParamName(AbstractCondition condition) {
|
||||||
return "component$" + condition.getFilterComponentName() + "." +
|
return "component$" + condition.getFilterComponentName() + "." +
|
||||||
condition.getName().replace('.', '_') + RandomStringUtils.randomNumeric(5);
|
condition.getName().replace('.', '_').replace(" ", "_") + RandomStringUtils.randomNumeric(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected interface Builder {
|
protected interface Builder {
|
||||||
|
Loading…
Reference in New Issue
Block a user