#1584 - Fix for - Query cache bug, which produces wrong results

This commit is contained in:
rob bygrave
2018-12-21 13:53:05 +13:00
parent b403942491
commit f66316138d
2 changed files with 9 additions and 10 deletions
@@ -56,11 +56,10 @@ public final class BeanFkeyProperty implements ElPropertyValue {
}
}
public BeanFkeyProperty create(String expression, boolean containsMany) {
public BeanFkeyProperty create(String expression, boolean pathContainsMany) {
int len = expression.length() - name.length() - 1;
String prefix = expression.substring(0, len);
return new BeanFkeyProperty(prefix, name, dbColumn, deployOrder, containsMany);
return new BeanFkeyProperty(prefix, name, dbColumn, deployOrder, containsMany || pathContainsMany);
}
/**