Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/21/15 16:15:47 (9 years ago)
Author:
ascheibe
Message:

#2388 fixed a small bug and disabled performance logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.WebApp.Maintenance/3.3/WebApi/FactTaskController.cs

    r12858 r12961  
    3939      var factTaskDao = pm.FactTaskDao;
    4040      return pm.UseTransaction(() => {
    41         var query = dimJobDao.GetAll().Where(x => x.DateCreated >= start && x.DateCreated <= end);
     41        var query = dimJobDao.GetAll().Where(x => x.DateCreated >= start && x.DateCreated <= end && x.DateCompleted != null);
    4242        return new DT.JobPage {
    4343          TotalJobs = query.Count(),
     
    6969      var dimJobDao = pm.DimJobDao;
    7070      var jobIds = pm.UseTransaction(() => dimJobDao.GetAll()
    71         .Where(x => x.DateCreated >= start && x.DateCreated <= end)
     71        .Where(x => x.DateCreated >= start && x.DateCreated <= end && x.DateCompleted != null)
    7272        .Select(x => x.JobId)
    7373        .ToList()
Note: See TracChangeset for help on using the changeset viewer.