#1753 - Tidy for Issue with using the Formula-Properties

This commit is contained in:
rob bygrave
2019-07-14 16:03:07 +12:00
parent 1ffe359573
commit 496672b394
4 changed files with 38 additions and 18 deletions
@@ -265,9 +265,8 @@ class CQueryBuilder {
if (!countDistinct) {
// minimise select clause for standard count
if (manyWhereJoins.isFormulaWithJoin()) {
// FIXME: we join the strings here and on the other side we split them again
// this is not yet optimal
query.select(String.join(",",manyWhereJoins.getFormulaJoinProperties()));
// Note that this is not yet optimal (split and join)
query.select(String.join(",", manyWhereJoins.getFormulaJoinProperties()));
} else {
query.setSelectId();
}