JBAS-2315 Vandelay sets cat date
authorBill Erickson <berickxx@gmail.com>
Mon, 15 Jul 2019 16:15:35 +0000 (12:15 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 15 Jul 2019 16:15:37 +0000 (12:15 -0400)
Porting to new Angular Vandelay code.

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

index 87a2d7f..a465a3c 100644 (file)
@@ -48,6 +48,7 @@ interface ImportOptions {
     fall_through_merge_profile?: any;
     strip_field_groups?: number[];
     match_quality_ratio: number;
+    set_cat_date: boolean; // KCLS JBAS-2315
     exit_early: boolean;
 }
 
@@ -563,6 +564,9 @@ export class ImportComponent implements OnInit, AfterViewInit, OnDestroy {
             fall_through_merge_profile: this.selectedFallThruMergeProfile,
             strip_field_groups: this.selectedTrashGroups,
             match_quality_ratio: this.minQualityRatio,
+            // KCLS JBAS-2315 On the server, cat date setting is limited
+            // to newly created records, so we just pass it always.
+            set_cat_date: true,
             exit_early: true
         };