Changeset 30161


Ignore:
Timestamp:
09/02/15 11:32:11 (5 years ago)
Author:
kjdon
Message:

need to make the metadata_list element before adding something to itsvn diff src/java/org/greenstone/gsdl3/service/CrossCollectionSearch.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/CrossCollectionSearch.java

    r30150 r30161  
    253253        // just send back num docs returned. Too hard to work out number of matches etc as each index type
    254254        // does it differently
     255        Element metadata_list = result_doc.createElement(GSXML.METADATA_ELEM + GSXML.LIST_MODIFIER);
     256        result.appendChild(metadata_list);
    255257        GSXML.addMetadata(metadata_list, "numDocsReturned", "" + num_docs);
    256258        return result;
Note: See TracChangeset for help on using the changeset viewer.