LP1958265 Angular Holds Grids Not Printing Barcode user/gcollum/lp1958265_holds_list_barcode_print-signoff
authorTerran McCanna <tmccanna@georgialibraries.org>
Mon, 31 Jan 2022 19:29:16 +0000 (14:29 -0500)
committerGarry Collum <gcollum@gmail.com>
Fri, 11 Feb 2022 18:40:32 +0000 (13:40 -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>
Signed-off-by: Garry Collum <gcollum@gmail.com>
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
         };
     }