Commit f42a6a60 authored by LAVENIER's avatar LAVENIER
Browse files

[fix] aggreagtion type: fetch documentation field, when need

parent 366754f8
......@@ -240,6 +240,7 @@ public class AggregationGraphQLService {
protected ExtractionProductFetchOptions getFetchOptions(Set<String> fields) {
return ExtractionProductFetchOptions.builder()
.withDocumentation(fields.contains(AggregationTypeVO.Fields.DOCUMENTATION))
.withRecorderDepartment(fields.contains(StringUtils.slashing(IWithRecorderDepartmentEntity.Fields.RECORDER_DEPARTMENT, IEntity.Fields.ID)))
.withRecorderPerson(fields.contains(StringUtils.slashing(IWithRecorderPersonEntity.Fields.RECORDER_PERSON, IEntity.Fields.ID)))
// Tables (=sheets)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment