From dc03da2e888ca858b32d948d9c46fa8aa688f67b Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 13 Jan 2022 10:29:47 -0500 Subject: [PATCH] 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 --- Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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](); } -- 2.11.0