Multiple matches on patron barcode completion in web client
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.12 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
EG 2.12 and 3.0
When retrieving a patron by barcode, the scanned barcode may match multiple patrons due to barcode completion rules. In the XUL client, when there are multiple matches, a dialog appears allowing you to select one of the matching records. In the web client, you don't get to choose; it just retrieves the first matching barcode, which may not be the one you want.
To test:
1. Add a barcode completion rule for BR1, applying to users and set to active, where "BR1" is the prefix.
2. Create a user with barcode "BR100001" and home library BR1.
3. Create another user with barcode "00001".
4. Login to the web client with BR1 as your working location. Go to "Check Out Item" and enter barcode "00001". EG will retrieve one of the two accounts you created; it ought to present a dialog that allows you to choose between BR00001 and 00001 (or none of the above).
A fix for this should probably build on the fix for bug 1699566.
Changed in evergreen: | |
milestone: | 3.0.1 → 3.0.2 |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Working branch user/jeffdavis/ lp1721610- user-barcode- completion has a fix:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=commitdif f;h=070debec
For simplicity, I've just reused the barcode choice modal template from bug 1699566.
This fix only applies to the Check Out Items screen. I'm not sure if there are other parts of the web client where we need to handle multiple matching patron barcodes.