From: Bill Erickson Date: Thu, 10 Sep 2020 21:59:23 +0000 (-0400) Subject: LP1888723 Item attrs edit owning lib change repair X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d97fedfcd3377c34f85737cc20b1960b4f5ac3a4;p=evergreen%2Ftadl.git LP1888723 Item attrs edit owning lib change repair Fixes a thinko in the item update code when changing the owning lib for an item. A value must be passed to copy.ischange(...) to have any effect. Signed-off-by: Bill Erickson Signed-off-by: Ruth Frasur Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.ts b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.ts index 25a7b0d89b..fdd8365910 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.ts @@ -336,7 +336,7 @@ export class CopyAttrsComponent implements OnInit, AfterViewInit { } copy.call_number(newVol); - copy.ischanged(); + copy.ischanged(true); this.context.removeCopyNode(copy.id()); this.context.findOrCreateCopyNode(copy);