lpxxx Angular holdings maintenance wip
authorBill Erickson <berickxx@gmail.com>
Wed, 20 Mar 2019 17:47:29 +0000 (13:47 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 20 Mar 2019 17:47:29 +0000 (13:47 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts

index a5f63ac..86e05b6 100644 (file)
@@ -597,6 +597,8 @@ export class HoldingsMaintenanceComponent implements OnInit {
         }
     }
 
+    // Mark record, library, and potentially the selected call number
+    // as the current transfer target.
     markLibCnForTransfer(rows: HoldingsEntry[]) {
         if (rows.length === 0) {
             return;
@@ -608,7 +610,7 @@ export class HoldingsMaintenanceComponent implements OnInit {
             return;
         }
 
-        let orgId;
+        let orgId: number;
 
         if (node.nodeType === 'org') {
             orgId = node.target.id();