feature: saved exports; include jobs and flags
This commit is contained in:
@@ -80,8 +80,8 @@ namespace Disco.Services.Devices.DeviceFlags
|
||||
}
|
||||
|
||||
status.UpdateStatus(15, "Extracting records from the database");
|
||||
|
||||
var records = query.Select(a => new DeviceFlagExportRecord()
|
||||
var assignments = query.ToList();
|
||||
var records = assignments.Select(a => new DeviceFlagExportRecord()
|
||||
{
|
||||
Assignment = a
|
||||
}).ToList();
|
||||
|
||||
@@ -68,8 +68,8 @@ namespace Disco.Services.Users.UserFlags
|
||||
}
|
||||
|
||||
status.UpdateStatus(15, "Extracting records from the database");
|
||||
|
||||
var records = query.Select(a => new UserFlagExportRecord()
|
||||
var assignments = query.ToList();
|
||||
var records = assignments.Select(a => new UserFlagExportRecord()
|
||||
{
|
||||
Assignment = a
|
||||
}).ToList();
|
||||
|
||||
Reference in New Issue
Block a user