Skip to content

Commit

Permalink
fix: order id does not work for v40, use trackedEntity
Browse files Browse the repository at this point in the history
  • Loading branch information
tokland committed Jan 31, 2025
1 parent 0362149 commit cba2365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/d2-program-rules/D2ProgramRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ export class D2ProgramRules {
const res = await getData(
this.api.trackedEntityInstances.get({
program: program.id,
order: "id:asc",
order: "trackedEntity:asc",
...orgUnitsFilter,
fields: "*,enrollments[events]",
programStartDate: startDate,
Expand Down

0 comments on commit cba2365

Please sign in to comment.