Open
Description
Describe the bug
Local patient search uses 'startsWith' logic to filter the patient records, e.g:
But when doing online search, the behaviour changes to 'contains' behaviour:
To reproduce
Steps to reproduce the behaviour:
- Go to Vaccine Dispensing module or Dispensing module
- Do an initial local search of some kind that is fairly generic
- Either tap 'Search Online' (in Vaccine Dispensing module) or 'Lookup Patient' in the dispensary
- Observe inconsistency
Expected behaviour
Consistent matching logic between local and remote patients
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:
- Tablet model:
- OS version:
Additional context
Add any other context about the problem here.