avniproject / apfodishanutrition

GNU Affero General Public License v3.0
0 stars 0 forks source link

APF Prod Bug fixes - Batch 5: Filter by GP is not functioning properly on the QRT dashboard #422

Open AnjaliBhagabati opened 2 months ago

AnjaliBhagabati commented 2 months ago

Issue:

The filter by GP is not functioning properly on the QRT dashboard. When attempting to get the count of PW and children with respect to GP, the filter does not work.

eg if GP, Badapalaspal is selected, PW and Child only of GP Badapalaspal should show, Currently, PW and Child of some other GPs like GP , Junga are also showing

Steps To Reproduce:

  1. Login to APF Odisha App as QRT user (User ID : 9438291983@apfodisha)
  2. Goto Filter
  3. Select GP eg Badapalaspal
  4. Click Apply
  5. On the QRT Dashboard, click on Pregnant Women card
  6. It should show only PW on Badapalaspa GP

Screen recording : https://drive.google.com/open?id=1mn4wuvnmVtpxkZWlfkGophS9wT7ZKAVR

Fix for this issue:

Currently we are using location names to filterout the result, to fix this issue we have to use the location UUID in filter query.

Please find the sample query.

image.png
sachsk commented 2 months ago

@AnjaliBhagabati This is the prod bug, created the prod bug after discussing with maha https://github.com/avniproject/avni-client/issues/1511

AnjaliBhagabati commented 2 months ago

@sachsk labelling it as Product Dependent and moving it to On Hold

adamsanadi6 commented 2 weeks ago

APF Odisha - QRT Dashboard - Report Card Backup

sachsk commented 2 weeks ago

@adamsanadi6 do this changes for all report cards which has the filter.

sachsk commented 6 days ago

@adamsanadi6 For this report card you have not filtered on the basis on UUID.

adamsanadi6 commented 6 days ago

@sachsk It's done.

dinesh2096 commented 6 days ago

getting this error message when we apply the filter for AWC we are getting this below error

undefined is not a function at render (address at index.android.bundle:1:3802707) at finishClassComponent (address at index.android.bundle:1:367532) at updateClassComponent (address at index.android.bundle:1:367393) at beginWork$1 (address at index.android.bundle:1:399711) at performUnitOfWork (address at index.android.bundle:1:386760) at workLoopSync (address at index.android.bundle:1:386662) at renderRootSync (address at index.android.bundle:1:386546) at performSyncWorkOnRoot (address at index.android.bundle:1:384029) at flushSyncCallbacks (address at index.android.bundle:1:349061) at flushPassiveEffects (address at index.android.bundle:1:388830) at anonymous (address at index.android.bundle:1:387813)

dinesh2096 commented 1 day ago

QA Reference :

Click here to watch video