From 36feb2db1c2db83b7247ce7338e3a4bc0ac66cb3 Mon Sep 17 00:00:00 2001 From: 9sneha-n <9sneha.n@gmail.com> Date: Mon, 22 Jul 2024 10:56:13 +0530 Subject: [PATCH] fix: sort options in drop down --- src/data/repositories/SurveyFormD2Repository.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/repositories/SurveyFormD2Repository.ts b/src/data/repositories/SurveyFormD2Repository.ts index e76932b..bd5f415 100644 --- a/src/data/repositories/SurveyFormD2Repository.ts +++ b/src/data/repositories/SurveyFormD2Repository.ts @@ -147,7 +147,7 @@ export class SurveyD2Repository implements SurveyRepository { undefined, programDataElements, dataElementsWithSortOrder, - resp.options, + sortedOptions, resp.programStages, resp.programStageSections, sortedTrackedentityAttr, @@ -171,7 +171,7 @@ export class SurveyD2Repository implements SurveyRepository { undefined, programDataElements, dataElementsWithSortOrder, - resp.options, + sortedOptions, resp.programStages, resp.programStageSections, sortedTrackedentityAttr,