From f236b45516924d18832bb71c6bebe235a88fddab Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 8 Dec 2021 10:59:28 -0500 Subject: [PATCH] LP#1942220: default new copy's owning branch to WS OU Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/acq/lineitem/copies.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/copies.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/copies.component.ts index 60cb0f2838..b93cac6a8a 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/lineitem/copies.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/lineitem/copies.component.ts @@ -131,6 +131,7 @@ export class LineitemCopiesComponent implements OnInit, AfterViewInit { while (copies.length < this.copyCount) { const copy = this.idl.create('acqlid'); copy.id(LineitemCopiesComponent.newCopyId--); + copy.owning_lib(this.auth.user().ws_ou()); copy.isnew(true); copy.lineitem(this.lineitem.id()); copies.push(copy); -- 2.11.0