From 38b043953282da317aa5cf330a2e029179050f66 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 1 Oct 2021 11:52:58 -0400 Subject: [PATCH] LP1904036 Patron reg honor default ident type Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts index b7bcecd7e5..361cddadad 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts @@ -770,6 +770,11 @@ export class EditComponent implements OnInit, AfterViewInit { this.strings.interpolate('circ.patron.edit.default_addr_type') .then(msg => addr.address_type(msg)); + this.serverStore.getItem('ui.patron.default_ident_type') + .then(identType => { + if (identType) { patron.ident_type(Number(identType)); } + }) + this.patron = patron; this.addWaiver(); } -- 2.11.0