diff --git a/server/AyaNova/biz/PartBiz.cs b/server/AyaNova/biz/PartBiz.cs index 610f2f05..89228c9c 100644 --- a/server/AyaNova/biz/PartBiz.cs +++ b/server/AyaNova/biz/PartBiz.cs @@ -525,14 +525,10 @@ namespace AyaNova.Biz if (o.AlternativeWholeSalerId != null) o.AlternativeWholeSalerViz = await ct.Vendor.AsNoTracking().Where(x => x.Id == o.AlternativeWholeSalerId).Select(x => x.Name).FirstOrDefaultAsync(); - //Ok, this one I'm not comfortable with but it was insisted upon - //so if there turns out to be a situation where there are just too many serials slowing down the reporting always + + //if there turns out to be a situation where there are just too many serials slowing down the reporting always //can look at tying this to the report data list column selection to check if serials are selected to display or not - o.PartSerialsViz = $"[{string.Join(',', (await ct.PartSerial.Where(z => z.PartId == o.Id).OrderBy(z => z.Serial).Select(z => $"'{z.Serial}'").ToListAsync()))}]"; - - - - + o.PartSerialsViz = string.Join(", ", (await ct.PartSerial.Where(z => z.PartId == o.Id).OrderBy(z => z.Serial).Select(z => z.Serial).ToListAsync())); } ////////////////////////////////////////////////////////////////////////////////////////////////