Open
Description
Describe the bug
A funny bug here; History button won't work right away for newly created patient that has been created and synced from another store. The fun part: leave that tablet for 5 minutes (because tablet auto-syncs in 5 mins), now search the same patient and this time, the history button works.
To reproduce
Steps to reproduce the behaviour:
- Get two tablets syncing
- In tablet1, create a new patient (or some vaccination history as well) and sync.
- In tablet2, do not sync yet and search for that new patient created using
Search online
- Click History button for that patient
- See error: the history button doesn't really work! It'll only work after you manually sync or wait 5 mins for auto-sync!
Expected behaviour
you decide!
Proposed Solution
Leave if you don't know how to fix/implement. Edit this issue description and explain here if you know the best path of implementing the fix within the codebase.
Version and device info
- App version: the latest apk
Additional context
Add any other context about the problem here.