From a0b4744f1abe80d4171742cc6b7e230c740330d6 Mon Sep 17 00:00:00 2001 From: Miquel Adell Date: Wed, 18 Sep 2024 09:24:15 +0200 Subject: [PATCH 1/3] bump version (#332) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bd9bf62..ea790a1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bulk-load", "description": "Bulk importing made easy", - "version": "3.23.3", + "version": "3.24.0", "license": "GPL-3.0", "author": "EyeSeeTea team", "homepage": ".", From 7546307b5e706b52cbbba6eba29f87304381b2b6 Mon Sep 17 00:00:00 2001 From: Eduardo Peredo Rivero Date: Thu, 19 Sep 2024 09:02:03 -0500 Subject: [PATCH 2/3] fix params for new tracker endpoint (#333) --- src/data/Dhis2TrackedEntityInstances.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/Dhis2TrackedEntityInstances.ts b/src/data/Dhis2TrackedEntityInstances.ts index 957a32d..8999580 100644 --- a/src/data/Dhis2TrackedEntityInstances.ts +++ b/src/data/Dhis2TrackedEntityInstances.ts @@ -456,12 +456,12 @@ async function getTeisFromApi(options: { const ouModeQuery = ouMode === "SELECTED" || ouMode === "CHILDREN" || ouMode === "DESCENDANTS" - ? { orgUnitMode: ouMode, orgUnit: orgUnits?.map(({ id }) => id) } - : { orgUnitMode: ouMode }; + ? { ouMode: ouMode, orgUnit: orgUnits?.map(({ id }) => id) } + : { ouMode: ouMode }; const filters: TrackedEntityGetRequest = { ...ouModeQuery, - order: "created:asc", + order: "createdAt:asc", program: program.id, pageSize: pageSize, page: page, From d16579663c57b6b917bd1a32b702715ee5ccdba3 Mon Sep 17 00:00:00 2001 From: Miquel Adell Date: Thu, 19 Sep 2024 16:08:11 +0200 Subject: [PATCH 3/3] bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ea790a1..fae8eb2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "bulk-load", "description": "Bulk importing made easy", - "version": "3.24.0", + "version": "3.24.1", "license": "GPL-3.0", "author": "EyeSeeTea team", "homepage": ".",