Skip to content

Commit

Permalink
Merge pull request #69 from EyeSeeTea/fix/program-rules-order
Browse files Browse the repository at this point in the history
fix: order id does not work for v40, use trackedEntity
  • Loading branch information
adrianq authored Feb 4, 2025
2 parents 0362149 + cba2365 commit 717cea6
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 717cea6

Please sign in to comment.