LP1904036 Improve patron reg billing/mailing/city limits handling
authorBill Erickson <berickxx@gmail.com>
Mon, 8 Nov 2021 22:55:43 +0000 (17:55 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:38 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts

index 832593b..0affa88 100644 (file)
@@ -739,8 +739,10 @@ export class EditComponent implements OnInit, AfterViewInit {
 
         const addr = this.idl.create('aua');
         addr.isnew(true);
+        addr.id(-1);
         addr.usr(-1);
         addr.valid('t');
+        addr.within_city_limits('f');
         addr.country(this.context.settingsCache['ui.patron.default_country']);
         patron.billing_address(addr);
         patron.mailing_address(addr);