(OFBIZ-11041) When you create a DynamicView with 'group by' agreggate function and you perform a delegator.findCountByCondition() with selected fields, the result is different from the count of each element returned by delegator.findList(). The problem come from when the 'group by' closure is populated with all grouped by fields from on the DV and not only those from selected fields. Thanks to Leila Mekika to raise and solve this issue. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1859438 13f79535-47bb-0310-9956-ffa450edef68