Skip to content

Commit

Permalink
fix: [DHIS2-15356] change tei search parameter from ou to orgUnit (
Browse files Browse the repository at this point in the history
  • Loading branch information
superskip authored Sep 14, 2023
1 parent 08c86ac commit c7ab828
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import type { QuerySingleResource } from '../../../utils/api/api.types';

const getOuQueryArgs = (orgUnit: ?Object, orgUnitScope: string) =>
(orgUnitScope !== 'ACCESSIBLE' ?
{ ou: orgUnit && orgUnit.id, ouMode: orgUnitScope } :
{ orgUnit: orgUnit && orgUnit.id, ouMode: orgUnitScope } :
{ ouMode: orgUnitScope });

const getContextQueryArgs = (programId: ?string, trackedEntityTypeId: string) =>
Expand Down

0 comments on commit c7ab828

Please sign in to comment.