LP#1706147: handle multiple matches on patron barcode completion in web client
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 6 Oct 2017 18:15:05 +0000 (11:15 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 7 Nov 2017 18:52:01 +0000 (13:52 -0500)
commitb2788373d4bd1b8125a67b1aa3709f7da8e3108b
treebb9c481d172b206047445254ceb0ac88e0b2b38f
parent5e5329aaf55f8a67e4ee2b88c5f8c222459fa75a
LP#1706147: handle multiple matches on patron barcode completion in web client

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).

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/patron/app.js