Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/24/13 14:17:56 (11 years ago)
Author:
ascheibe
Message:

#2064 fixed sorting in Hive Job Manager and ItemCollectionView

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/ListViewItemDateComparer.cs

    r9456 r9523  
    3131  public class ListViewItemDateComparer : IComparer {
    3232    private int col;
    33     private SortOrder order;
     33    public SortOrder Order { get; set; }
    3434
    3535    public ListViewItemDateComparer() {
    3636      col = 0;
    37       order = SortOrder.Ascending;
     37      Order = SortOrder.Ascending;
    3838    }
    3939
    4040    public ListViewItemDateComparer(int column, SortOrder order) {
    4141      col = column;
    42       this.order = order;
     42      Order = order;
    4343    }
    4444
     
    6666      }
    6767
    68       if (order == SortOrder.Descending) {
     68      if (Order == SortOrder.Descending) {
    6969        // invert the value returned by Compare.
    7070        returnVal *= -1;
Note: See TracChangeset for help on using the changeset viewer.