Bug Fix #32: ConvertHWarToHNWar Components
Components are now correctly filtered and associated with jobs when converting from "Hardware - Warranty" to "Hardware - Non Warranty".
This commit is contained in:
1 parent
551b1d3a41
commit
ec118a3395
1 file changed
+1
-1
@@ -210,7 +210,7 @@ namespace Disco.BI.Extensions
|
||||
var jobComponents = new List<DeviceComponent>();
|
||||
foreach (var component in components)
|
||||
{
|
||||
if (!component.DeviceModelId.HasValue)
|
||||
if (component.JobSubTypes.Count == 0)
|
||||
{
|
||||
jobComponents.Add(component);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user