]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1900184 Patron password use phone not working
authorDan Briem <dbriem@wlsmail.org>
Fri, 30 Oct 2020 17:06:59 +0000 (13:06 -0400)
committerJason Boyer <JBoyer@equinoxinitiative.org>
Mon, 9 Nov 2020 18:39:29 +0000 (13:39 -0500)
commitd14a0a514f9c5827e04126c13609bbfa83ab219d
tree8a600effda2e12065cc35fe8fa80192b1c3e926f
parent925b940012d13e6916f069393cf21fe621fb8170
LP#1900184 Patron password use phone not working

An early return statement in extract_hold_notify() was removed
in 7e92293 and added back in ddf5b4b3, so props set at the end
of that function used in future comparisons never get set.

This re-removes the return statement and sets the local notify
variable to default string values so the rest of the function
can play out.

To test:
1. Set org unit setting: "Patron: password from phone #" to TRUE
   at the top context location
2. Circulation->Register Patron
3. Type 123-456-7890 into the Daytime Phone field and press tab
4. Note: the password field isn't updated to the last 4 digits
5. Apply patch and repeat steps
6. Note: the password field updates to the last 4 digits

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js