From: Galen Charlton Date: Thu, 13 Jan 2022 15:29:47 +0000 (-0500) Subject: LP#1929749: combobox: improve idlIncludeLibraryInLabel X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=dc03da2e888ca858b32d948d9c46fa8aa688f67b;p=working%2FEvergreen.git LP#1929749: combobox: improve idlIncludeLibraryInLabel This option no longer requires that the OU field be fleshed. Signed-off-by: Galen Charlton Signed-off-by: Ruth Frasur Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts index c9885bf428..390e6bcb1d 100644 --- a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts +++ b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts @@ -251,7 +251,7 @@ export class ComboboxComponent implements ControlValueAccessor, OnInit, AfterVie default: const field = this.idlField; if (this.idlIncludeLibraryInLabel) { - return fm[field]() + ' (' + fm[this.idlIncludeLibraryInLabel]().shortname() + ')'; + return fm[field]() + ' (' + this.getOrgShortname(fm[this.idlIncludeLibraryInLabel]()) + ')'; } else { return fm[field](); }