Project

General

Profile

Revision 5dc5c2ed

ID5dc5c2ed3312e30c031acd8c081f0cde68835f9d
Parent fcaa1f56
Child 515c0724

Added by Patrick Plitzner over 1 year ago

ref #7887 Compare labels on lower case strings

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/editor/definedterm/DefinedTermSorter.java
65 65
                termDto2.localize(new TermRepresentation_L10n());
66 66
                if(termDto1.getRepresentation_L10n()!=null){
67 67
                    if(termDto2.getRepresentation_L10n()!=null) {
68
                        return termDto1.getRepresentation_L10n().compareTo(termDto2.getRepresentation_L10n());
68
                        return termDto1.getRepresentation_L10n().toLowerCase().compareTo(termDto2.getRepresentation_L10n().toLowerCase());
69 69
                    }
70 70
                    else{
71 71
                        return 1;
......
83 83
            termVoc2.localize(new TermRepresentation_L10n());
84 84
            if(termVoc1.getRepresentation_L10n()!=null){
85 85
                if(termVoc2.getRepresentation_L10n()!=null) {
86
                    return termVoc1.getRepresentation_L10n().compareTo(termVoc2.getRepresentation_L10n());
86
                    return termVoc1.getRepresentation_L10n().toLowerCase().compareTo(termVoc2.getRepresentation_L10n().toLowerCase());
87 87
                }
88 88
                else{
89 89
                    return 1;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)