Skip to content

Commit

Permalink
Merge branch 'master' into DHIS2-15185-datatable
Browse files Browse the repository at this point in the history
  • Loading branch information
simonadomnisoru committed Aug 9, 2023
2 parents be2a3fc + 20e9c23 commit f3661fb
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [100.35.5](https://github.com/dhis2/capture-app/compare/v100.35.4...v100.35.5) (2023-08-03)


### Bug Fixes

* [DHIS2-15365] remove orgUnit and ouMode query args ([#3398](https://github.com/dhis2/capture-app/issues/3398)) ([ef35eb3](https://github.com/dhis2/capture-app/commit/ef35eb300fa61343576957e6734a2767dc37b4ec))

## [100.35.4](https://github.com/dhis2/capture-app/compare/v100.35.3...v100.35.4) (2023-08-01)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ Given('you open the main page with Ngelehun and Malaria case diagnosis and House

Then('the default working list should be displayed', () => {
const names = [
'John',
'Filona',
'Gertrude',
'Frank',
Expand All @@ -77,6 +76,7 @@ Then('the default working list should be displayed', () => {
'Julia',
'Elizabeth',
'Donald',
'Wayne',
];

cy.get('[data-test="tei-working-lists"]')
Expand Down Expand Up @@ -276,7 +276,6 @@ Then('the registering unit should display in the list', () => {

Then('the list should display data for the second page', () => {
const names = [
'Wayne',
'Johnny',
'Donna',
'Sharon',
Expand All @@ -291,6 +290,7 @@ Then('the list should display data for the second page', () => {
'Noah',
'Emily',
'Lily',
'Olvia',
];

cy.get('[data-test="tei-working-lists"]')
Expand All @@ -307,7 +307,6 @@ Then('the list should display data for the second page', () => {

Then('the list should display 10 rows of data', () => {
const names = [
'John',
'Filona',
'Gertrud',
'Frank',
Expand All @@ -317,6 +316,7 @@ Then('the list should display 10 rows of data', () => {
'Alan',
'Heather',
'Andrea',
'Donald',
];

cy.get('[data-test="tei-working-lists"]')
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "capture-app",
"homepage": ".",
"version": "100.35.4",
"version": "100.35.5",
"cacheVersion": "5",
"serverVersion": "38",
"license": "BSD-3-Clause",
Expand All @@ -10,8 +10,8 @@
"packages/rules-engine"
],
"dependencies": {
"@dhis2/rules-engine-javascript": "100.35.5",
"@dhis2/app-runtime": "^3.9.3",
"@dhis2/rules-engine-javascript": "100.35.4",
"@dhis2/d2-i18n": "^1.1.0",
"@dhis2/d2-icons": "^1.0.1",
"@dhis2/d2-ui-app": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/rules-engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/rules-engine-javascript",
"version": "100.35.4",
"version": "100.35.5",
"license": "BSD-3-Clause",
"main": "./build/cjs/index.js",
"scripts": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,9 @@ const createApiEventQueryArgs = (
};

const createApiTEIsQueryArgs =
({ pageSize, programId: program, orgUnitId: orgUnit }, trackedEntityIds): { [string]: any } => ({
({ pageSize, programId: program }, trackedEntityIds): { [string]: any } => ({
program,
pageSize,
orgUnit,
ouMode: orgUnit ? 'SELECTED' : 'ACCESSIBLE',
trackedEntity: trackedEntityIds,
fields:
'trackedEntity,createdAt,orgUnit,attributes[attribute,value],enrollments[enrollment,status,orgUnit,enrolledAt]',
Expand Down

0 comments on commit f3661fb

Please sign in to comment.