LP1850825 Vandely export set default record source user/berick/lp1850825-vand-export-csv-fix
authorBill Erickson <berickxx@gmail.com>
Mon, 10 Aug 2020 19:19:51 +0000 (15:19 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 10 Aug 2020 19:23:42 +0000 (15:23 -0400)
Provide a default value for the record ID source (csv, id, bucket) in
the Vandelay record export interface.  Without this, a record source was
only specified if the source value was modified.  Defaults to 'csv'.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/cat/vandelay/export.component.ts

index cb30278..d5dc199 100644 (file)
@@ -16,7 +16,7 @@ import {BasketService} from '@eg/share/catalog/basket.service';
 })
 export class ExportComponent implements AfterViewInit, OnInit {
 
-    recordSource: string;
+    recordSource = 'csv';
     fieldNumber: number;
     selectedFile: File;
     recordId: number;