Fix Excel export for Log with the new VehiclePreviousLog property
This commit is contained in:
@@ -36,6 +36,7 @@ namespace MileageTraker.Web.Utility
|
|||||||
var properties =
|
var properties =
|
||||||
typeof(T).GetProperties()
|
typeof(T).GetProperties()
|
||||||
.Where(p => !p.PropertyType.IsCollection())
|
.Where(p => !p.PropertyType.IsCollection())
|
||||||
|
.Where(p => !p.Name.Contains("PreviousLog"))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
properties.Zip(
|
properties.Zip(
|
||||||
|
|||||||
Reference in New Issue
Block a user