From: Bill Erickson Date: Fri, 1 Oct 2021 15:52:58 +0000 (-0400) Subject: LP1904036 Patron reg honor default ident type X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=38b043953282da317aa5cf330a2e029179050f66;p=contrib%2FConifer.git LP1904036 Patron reg honor default ident type Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- 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(); }