parent.criteria.addOrder(order);
}
}
static <E> void configureFields(CriteriaParent criteria, EntityMeta meta, Transformer<E> transformer, String[] fields){
if( fields == null || fields.length == 0) return;
<BUG>Parent parent = new Parent(criteria, meta, "");</BUG>
for(String field: fields) {
if(Validations.isEmptyOrNull(field)) continue;
field = field.trim();
<BUG>parent.name = field;
createCriteriaByGivenName(parent, transformer);
</BUG>
ProjectionList projection = (ProjectionList) parent.criteria.getProjection();

parent.criteria.addOrder(order);
}
}
static <E> void configureFields(CriteriaParent criteria, EntityMeta meta, Transformer<E> transformer, String[] fields){
if( fields == null || fields.length == 0) return;
for(String field: fields) {
if(Validations.isEmptyOrNull(field)) continue;
field = field.trim();
Parent parent = new Parent(criteria, meta, field);
if(!createCriteriaByGivenName(parent, transformer)) continue;
ProjectionList projection = (ProjectionList) parent.criteria.getProjection();
