When fetching facilities for group, some of the linked facilities are not displayed on UI #322
Open
1 of 2 tasks
Labels
bug
Something isn't working
Current behavior
When checking for linked facilities for a group, the max viewSize returned in results in 250 but if the passed groupIds have more records than 250 then those records are skipped.
Expected behavior
If such a case occurs when the result count exceed 250 then we should again request the records for the same query by passing index.
Steps to reproduce the issue
Can you handle fixing this bug by yourself?
Environment details
Additional information
When having multiple groups we make the query by creating batches of 10 groupIds, and fetch the records, but there are case where a single group is associated with 100 facilities and thus the overall count in some cases exceeds 250, resulting in discrepancies on UI.
The text was updated successfully, but these errors were encountered: