- Timestamp:
- 2011-08-12T09:57:26+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/Action.java
r24254 r24393 77 77 } 78 78 79 79 protected void extractMetadataNames(Element format, HashSet meta_names) { 80 80 //NodeList nodes = format.getElementsByTagNameNS("metadata", "http://www.greenstone.org/configformat"); 81 81 NodeList metadata_nodes = format.getElementsByTagName("gsf:metadata"); … … 90 90 metadata.append("all"); 91 91 metadata.append(GSConstants.META_RELATION_SEP); 92 } else if (all.equals("offset")) { // multiple is no longer boolean. 93 // Can be "true", "false" or it can be "offset" (when requested to use mdoffset) 94 metadata.append("offset"); 95 metadata.append(GSConstants.META_RELATION_SEP); 96 } // if multiple=false, then get first value for the metadata 92 } 97 93 if (!select.equals("")) { 98 94 metadata.append(select);
Note:
See TracChangeset
for help on using the changeset viewer.