Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/19/15 14:01:54 (9 years ago)
Author:
ascheibe
Message:

#2388 fixed begindate query

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.WebApp.Status/3.3/WebApi/DataController.cs

    r12883 r12885  
    9393          TotalCpuTime = factTasks.Sum(x => Convert.ToInt64(x.CalculatingTime)),
    9494          StandardDeviationCalculatingTime = (long)StandardDeviation(completedTasks.Select(x => (double)x.CalculatingTime)),
    95           BeginDate = factTasks.OrderBy(x => x.StartTime).Select(x => x.StartTime).FirstOrDefault()
     95          BeginDate = factTasks.Where(x => x.StartTime.HasValue).OrderBy(x => x.StartTime).Select(x => x.StartTime).FirstOrDefault()
    9696        };
    9797      });
Note: See TracChangeset for help on using the changeset viewer.