LP#1816180 Pending Patron - No Address Type
authorMcCanna <tmccanna@georgialibraries.org>
Fri, 15 Feb 2019 19:55:59 +0000 (14:55 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 25 Feb 2019 21:27:49 +0000 (16:27 -0500)
When registering a patron from Pending Patrons, inserts
default address type to match behavior of registering a
new patron from scratch.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js

index 0f8c451..9e07e3d 100644 (file)
@@ -889,6 +889,7 @@ angular.module('egCoreMod')
                 usr : user.id,
                 isnew : true,
                 valid : true,
+                address_type : egCore.strings.REG_ADDR_TYPE,
                 _is_mailing : cls == 'stgma',
                 _is_billing : cls == 'stgba'
             };