Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New longitudinal export failed to apply the filter #1057

Open
Dinesh2019 opened this issue Oct 8, 2023 · 0 comments
Open

New longitudinal export failed to apply the filter #1057

Dinesh2019 opened this issue Oct 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Dinesh2019
Copy link

when we add the field which we wanted in the JSON under field it return all the field for that individual instead returning the field we have requested as the requirement

env: prod
user : nuppork@yenepoya

Steps to reproduce
1.Login to the org
2.Go to the report
3.Click on the new longitudinal report
4.add the JSON format as per the requirement

Excepted result : csv should hold the data as per the customer requirement
Actual result : csv holds all the fields data

sample json 👍:

{
"individual": {
"uuid": "d22027ff-e019-4d1c-9352-bd740efccc38",
"fields": [
"id",
"uuid",
"firstName",
"lastName",
"dateOfBirth",
"registrationDate",
"gender"
],
"filters": {
"addressLevelIds": [],
"date": {
"from": "2022-01-12",
"to": "2022-05-04"
}
}
},
"timezone": "Asia/Calcutta"
}

attached the csv which returns all the field
[Individual (3).csv]
https://github.com/avniproject/avni-webapp/files/12840471/Individual.3.csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: New Issues
Development

No branches or pull requests

1 participant