LP1958265 Angular Holds Grids Not Printing Barcode
authorTerran McCanna <tmccanna@georgialibraries.org>
Mon, 31 Jan 2022 19:29:16 +0000 (14:29 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 31 Jan 2022 20:23:41 +0000 (15:23 -0500)
This adds the ability to print (or download CSV) the Current Item
and Requested Item barcodes from the Holds Pull List and from the
Holds tab of the bib record.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts

index 70ad178..80bc101 100644 (file)
@@ -207,6 +207,8 @@ export class HoldsGridComponent implements OnInit {
         this.cellTextGenerator = {
             title: row => row.title,
             cp_barcode: row => (row.cp_barcode == null) ? '' : row.cp_barcode,
+            current_item: row => (row.cp_barcode == null) ? '' : row.cp_barcode,
+            requested_item: row => (row.cp_barcode == null) ? '' : row.cp_barcode,
             ucard_barcode: row => row.ucard_barcode
         };
     }