This commit is contained in:
@@ -861,7 +861,8 @@ namespace AyaNova.Biz
|
||||
}
|
||||
}
|
||||
|
||||
ret.Items.Add(woitem);
|
||||
if (woitem != null)
|
||||
ret.Items.Add(woitem);
|
||||
|
||||
await WorkOrderPopulateVizFields(ret, false);
|
||||
return ret;
|
||||
@@ -892,8 +893,8 @@ namespace AyaNova.Biz
|
||||
//return in db natural order and need to be put back into the same order as the ID List
|
||||
//Here in the workorder however, this code is fetching individually one at a time so they are always going to be in the correct order so this re-ordering is unnecessary
|
||||
//I'm keeping this here for future reference when I ineveitably wonder what the hell is happening here :)
|
||||
|
||||
|
||||
|
||||
|
||||
//order the results back into original
|
||||
//IEnumerable<WorkOrder> orderedList = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user