From: Galen Charlton Date: Wed, 8 Dec 2021 15:59:28 +0000 (-0500) Subject: LP#1942220: default new copy's owning branch to WS OU X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f236b45516924d18832bb71c6bebe235a88fddab;p=working%2FEvergreen.git LP#1942220: default new copy's owning branch to WS OU Signed-off-by: Galen Charlton --- 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);