@@ -291,7 +291,7 @@ public static string GetImportModeIcon(ImportMode importMode)
291
291
//CSV Write Methods
292
292
public static void WriteGenericRecordExportModel ( CsvWriter _csv , IEnumerable < GenericRecordExportModel > genericRecords )
293
293
{
294
- var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . OrderBy ( x => x ) . Distinct ( ) ;
294
+ var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . Distinct ( ) ;
295
295
//write headers
296
296
_csv . WriteField ( nameof ( GenericRecordExportModel . Date ) ) ;
297
297
_csv . WriteField ( nameof ( GenericRecordExportModel . Description ) ) ;
@@ -322,7 +322,7 @@ public static void WriteGenericRecordExportModel(CsvWriter _csv, IEnumerable<Gen
322
322
}
323
323
public static void WriteOdometerRecordExportModel ( CsvWriter _csv , IEnumerable < OdometerRecordExportModel > genericRecords )
324
324
{
325
- var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . OrderBy ( x => x ) . Distinct ( ) ;
325
+ var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . Distinct ( ) ;
326
326
//write headers
327
327
_csv . WriteField ( nameof ( OdometerRecordExportModel . Date ) ) ;
328
328
_csv . WriteField ( nameof ( OdometerRecordExportModel . InitialOdometer ) ) ;
@@ -351,7 +351,7 @@ public static void WriteOdometerRecordExportModel(CsvWriter _csv, IEnumerable<Od
351
351
}
352
352
public static void WriteTaxRecordExportModel ( CsvWriter _csv , IEnumerable < TaxRecordExportModel > genericRecords )
353
353
{
354
- var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . OrderBy ( x => x ) . Distinct ( ) ;
354
+ var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . Distinct ( ) ;
355
355
//write headers
356
356
_csv . WriteField ( nameof ( TaxRecordExportModel . Date ) ) ;
357
357
_csv . WriteField ( nameof ( TaxRecordExportModel . Description ) ) ;
@@ -380,7 +380,7 @@ public static void WriteTaxRecordExportModel(CsvWriter _csv, IEnumerable<TaxReco
380
380
}
381
381
public static void WriteSupplyRecordExportModel ( CsvWriter _csv , IEnumerable < SupplyRecordExportModel > genericRecords )
382
382
{
383
- var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . OrderBy ( x => x ) . Distinct ( ) ;
383
+ var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . Distinct ( ) ;
384
384
//write headers
385
385
_csv . WriteField ( nameof ( SupplyRecordExportModel . Date ) ) ;
386
386
_csv . WriteField ( nameof ( SupplyRecordExportModel . PartNumber ) ) ;
@@ -415,7 +415,7 @@ public static void WriteSupplyRecordExportModel(CsvWriter _csv, IEnumerable<Supp
415
415
}
416
416
public static void WritePlanRecordExportModel ( CsvWriter _csv , IEnumerable < PlanRecordExportModel > genericRecords )
417
417
{
418
- var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . OrderBy ( x => x ) . Distinct ( ) ;
418
+ var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . Distinct ( ) ;
419
419
//write headers
420
420
_csv . WriteField ( nameof ( PlanRecordExportModel . DateCreated ) ) ;
421
421
_csv . WriteField ( nameof ( PlanRecordExportModel . DateModified ) ) ;
@@ -450,7 +450,7 @@ public static void WritePlanRecordExportModel(CsvWriter _csv, IEnumerable<PlanRe
450
450
}
451
451
public static void WriteGasRecordExportModel ( CsvWriter _csv , IEnumerable < GasRecordExportModel > genericRecords )
452
452
{
453
- var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . OrderBy ( x => x ) . Distinct ( ) ;
453
+ var extraHeaders = genericRecords . SelectMany ( x => x . ExtraFields ) . Select ( y => y . Name ) . Distinct ( ) ;
454
454
//write headers
455
455
_csv . WriteField ( nameof ( GasRecordExportModel . Date ) ) ;
456
456
_csv . WriteField ( nameof ( GasRecordExportModel . Odometer ) ) ;
0 commit comments