From e4c7118b144cb7d3f8d455f73da6dd929a5033fe Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 1 Aug 2019 14:33:45 -0400 Subject: [PATCH] LP#1823367: (follow-up) revert renaming of eg.cat.transfer_target_vol This local storage key is expected by AngularJS interfaces, and the AngularJS item status page in particular remains relevant for now. This prevents a regression whereby marking a call number/volume target in the Angular Holdings View interface would not set a target that would work when trying to initiate a transfer from the AngularJS Item Status interface. Signed-off-by: Galen Charlton --- .../eg2/src/app/staff/catalog/record/holdings.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts index bc2390555f..25e0894a0e 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts @@ -662,7 +662,7 @@ export class HoldingsMaintenanceComponent implements OnInit { orgId = node.target.id(); // Clear call number target when performed on an org unit row - this.localStore.removeLocalItem('eg.cat.transfer_target_callnum'); + this.localStore.removeLocalItem('eg.cat.transfer_target_vol'); } else if (node.nodeType === 'callNum') { @@ -671,7 +671,7 @@ export class HoldingsMaintenanceComponent implements OnInit { // Add call number target when performed on a call number row. this.localStore.setLocalItem( - 'eg.cat.transfer_target_callnum', node.target.id()); + 'eg.cat.transfer_target_vol', node.target.id()); } this.localStore.setLocalItem('eg.cat.transfer_target_record', this.recordId); -- 2.43.2