Changeset 26088

Show
Ignore:
Timestamp:
09.08.2012 11:25:41 (7 years ago)
Author:
kjdon
Message:

removed macro resolve - shouldn't need it for classifier metadata

Files:
1 modified

Legend:

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

    r26046 r26088  
    170170     */ 
    171171    // assumes only one value per metadata 
     172  // does no macro resolving. assumes classifier metadata will not have macros. 
    172173    protected Element getMetadataList(String node_id, boolean all_metadata, ArrayList<String> metadata_names) 
    173174    { 
     
    188189                String key = it.next(); 
    189190                String value = info.getInfo(key); 
    190                 GSXML.addMetadata(this.doc, metadata_list, key, this.macro_resolver.resolve(value, lang, GS2MacroResolver.SCOPE_META, node_id)); 
     191                GSXML.addMetadata(this.doc, metadata_list, key, value); 
    191192            } 
    192193