From 0ad6bb172d92e3a194f0edc66b78430cb41d2ec1 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 6 Apr 2021 16:53:14 -0400 Subject: [PATCH] LP#1904244: combobox: include org unit in label for funds Signed-off-by: Galen Charlton Signed-off-by: Ruth Frasur Signed-off-by: Bill Erickson --- Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html | 2 +- Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html index d2280811e3..0e5253b9f6 100644 --- a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html +++ b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html @@ -5,7 +5,7 @@ - {{r.fm.code()}} ({{r.fm.year()}}) + {{r.fm.code()}} ({{r.fm.year()}}) ({{getOrgShortname(r.fm.org())}}) {{r.fm.name()}} ({{getOrgShortname(r.fm.owning_lib())}}) 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 d21ad5f916..96c15fae46 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 @@ -205,7 +205,8 @@ export class ComboboxComponent implements ControlValueAccessor, OnInit, AfterVie return fm.course_number() + ': ' + fm.name(); break; case 'acqf': - return fm.code() + ' (' + fm.year() + ')'; + return fm.code() + ' (' + fm.year() + ')' + + ' (' + this.getOrgShortname(fm.org()) + ')'; break; case 'acpl': return fm.name() + ' (' + this.getOrgShortname(fm.owning_lib()) + ')'; -- 2.11.0