Changeset 36171


Ignore:
Timestamp:
2022-05-10T14:33:11+12:00 (5 months ago)
Author:
kjdon
Message:

sortFields can have a default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/SortField.java

    r36151 r36171  
    3535
    3636    static final String sortfield_element = StaticStrings.SORT_ELEMENT;
    37     //protected String default_element_name = StaticStrings.SORT_DEFAULT_ELEMENT; // don't have default at this stage
     37    protected String default_sortfield_element = StaticStrings.SORT_DEFAULT_ELEMENT;
    3838
    3939    public SortField() {
     
    5252
    5353    protected String getDefaultElementName() {
    54     return null; //StaticSTrings.SORT_DEFAULT_ELEMENT;
     54      return default_sortfield_element;
    5555    }
    5656
Note: See TracChangeset for help on using the changeset viewer.