Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12913 for trunk/sources


Ignore:
Timestamp:
08/27/15 08:46:41 (9 years ago)
Author:
ascheibe
Message:

#2388 fixed ordering for history charts

File:
1 edited

Legend:

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

    r12885 r12913  
    164164                      && s.Time <= end
    165165                      && s.SlaveState != SlaveState.Offline)
    166           .OrderBy(s => s.Time)
    167166          .GroupBy(s => s.Time)
    168167          .Select(x => new {
     
    207206        statusList.Add(status);
    208207      } while (e.Current != null);
    209       return statusList;
     208      return statusList.OrderBy(x => x.Timestamp).ToList();
    210209    }
    211210
Note: See TracChangeset for help on using the changeset viewer.