diff --git a/src/core_modules/capture-core/components/WorkingLists/EventWorkingLists/epics/getEventListData.js b/src/core_modules/capture-core/components/WorkingLists/EventWorkingLists/epics/getEventListData.js index 92003a5f08..808c2cb3cc 100644 --- a/src/core_modules/capture-core/components/WorkingLists/EventWorkingLists/epics/getEventListData.js +++ b/src/core_modules/capture-core/components/WorkingLists/EventWorkingLists/epics/getEventListData.js @@ -108,7 +108,7 @@ const getApiCategoriesQueryArgument = (categories: ?{ [id: string]: string}, cat const useNewSeparator = featureAvailable(FEATURES.newAocApiSeparator); return { attributeCc: categoryCombinationId, - attributeCos: Object + attributeCategoryOptions: Object .keys(categories) .map(key => categories[key]) diff --git a/src/core_modules/capture-core/components/WorkingLists/TeiWorkingLists/epics/teiViewEpics/helpers/getEventListData/getEventListData.js b/src/core_modules/capture-core/components/WorkingLists/TeiWorkingLists/epics/teiViewEpics/helpers/getEventListData/getEventListData.js index 69a32c2f1f..2f0280d370 100644 --- a/src/core_modules/capture-core/components/WorkingLists/TeiWorkingLists/epics/teiViewEpics/helpers/getEventListData/getEventListData.js +++ b/src/core_modules/capture-core/components/WorkingLists/TeiWorkingLists/epics/teiViewEpics/helpers/getEventListData/getEventListData.js @@ -55,7 +55,7 @@ const createApiTEIsQueryArgs = pageSize, trackedEntity: trackedEntityIds, fields: - 'trackedEntity,createdAt,orgUnit,attributes[attribute,value],enrollments[enrollment,status,orgUnit,enrolledAt]', + 'trackedEntities,createdAt,orgUnits,attributes[attribute,value],enrollments[enrollment,status,orgUnit,enrolledAt]', }); export const getEventListData = async (