Changeset 30835


Ignore:
Timestamp:
09/22/16 12:01:48 (4 years ago)
Author:
kjdon
Message:

along with site metadata we now need to get site displayItems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/Action.java

    r30589 r30835  
    149149        Element metadata_request = GSXML.createBasicRequest(doc, GSXML.REQUEST_TYPE_DESCRIBE, "", userContext);
    150150        //create a hashmap of params
    151         HashMap subset_params = new HashMap(1);
     151        HashMap subset_params = new HashMap(2);
    152152        subset_params.put(GSXML.SUBSET_PARAM, GSXML.METADATA_ELEM + GSXML.LIST_MODIFIER);
     153        subset_params.put(GSXML.SUBSET_PARAM, GSXML.DISPLAY_TEXT_ELEM + GSXML.LIST_MODIFIER);
    153154        //create the element to put the params in
    154155        Element param_list = doc.createElement(GSXML.PARAM_ELEM + GSXML.LIST_MODIFIER);
     
    164165        Element metadata_response = (Element) GSXML.getChildByTagName(metadata_response_message, GSXML.RESPONSE_ELEM);
    165166        //merge in metadata
     167        // *************** need to merge the displayITem lists too
    166168        GSXML.mergeMetadataLists(element, metadata_response);
     169        GSXML.mergeSpecifiedLists(element, metadata_response, GSXML.DISPLAY_TEXT_ELEM);
    167170    }
    168171
Note: See TracChangeset for help on using the changeset viewer.