Project

General

Profile

Revision 8dae61ea

ID8dae61ea8a14275a66daada70146dbbd88272882
Parent 7d256eab
Child 4e06955e

Added by Andreas Müller over 4 years ago

Fix order for areas #5677

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/utility/DistributionNodeByAreaOrderComparator.java
36 36
        }else if (area2 == null){
37 37
            return 1;
38 38
        }else{
39
            return area1.compareTo(area2);
39
            return - area1.compareTo(area2);  //term compare methods currently use wrong direction
40 40
        }
41 41
    }
42 42
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)