Changeset 31061


Ignore:
Timestamp:
2016-11-04T18:20:07+13:00 (5 years ago)
Author:
ak19
Message:

My previous 'fix' fixed the display for the backdrop collection, but the display of the colleciton name in the banner area and the collection images were broken. Will need to wait for Kathy to make the fix for the backdrop collection without any side effects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/collection/ServiceCluster.java

    r31056 r31061  
    655655            if (param_list == null)
    656656            {
    657                 //Element di_list = result_doc.createElement(GSXML.DISPLAY_TEXT_ELEM + GSXML.LIST_MODIFIER);
    658                 //description.appendChild(di_list);
    659               DisplayItemUtil.addLanguageSpecificDisplayItems(description, this.display_item_list, lang, DEFAULT_LANG, this.class_loader);
     657              Element di_list = result_doc.createElement(GSXML.DISPLAY_TEXT_ELEM + GSXML.LIST_MODIFIER);
     658              description.appendChild(di_list);
     659              DisplayItemUtil.addLanguageSpecificDisplayItems(di_list, this.display_item_list, lang, DEFAULT_LANG, this.class_loader);
    660660                description.appendChild(result_doc.importNode(this.service_list, true));
    661661                description.appendChild(result_doc.importNode(this.metadata_list, true));
     
    686686                    else if (info.equals(GSXML.DISPLAY_TEXT_ELEM + GSXML.LIST_MODIFIER))
    687687                    {
    688                         //Element di_list = result_doc.createElement(GSXML.DISPLAY_TEXT_ELEM + GSXML.LIST_MODIFIER);
    689                         //description.appendChild(di_list);
    690                       DisplayItemUtil.addLanguageSpecificDisplayItems(description, this.display_item_list, lang, DEFAULT_LANG, this.class_loader);
     688                      Element di_list = result_doc.createElement(GSXML.DISPLAY_TEXT_ELEM + GSXML.LIST_MODIFIER);
     689                      description.appendChild(di_list);
     690                      DisplayItemUtil.addLanguageSpecificDisplayItems(di_list, this.display_item_list, lang, DEFAULT_LANG, this.class_loader);
    691691
    692692                    }
Note: See TracChangeset for help on using the changeset viewer.