There are still some cases where the wanted registration's number was typed into the Numbers field, and yet either none or a wrong pre-selection is made.
Several ideas have occurred to me, and they are not mutually inclusive/exclusive. Investigate.
- UI toggle switch for Auto/Fuzzy/Precise Numbers field lookup. Worker can express their preference.
- Auto might first execute a precise lookup, and if no matches, fall back to a fuzzy lookup
- Fuzzy would force a fuzzy lookup
- Precise would force a precise lookup
Idea for pre-selection:
- Choose the only result of a precise lookup if only one; else
- Use existing edit distance comparison (choose the registration whose numbers field have the lowest edit distance)