- Timestamp:
- 2012-06-14T20:39:57+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/GS2BrowseAction.java
r25693 r25793 446 446 Element template = (Element) templates.item(i); 447 447 String match = template.getAttribute("match"); 448 if (match. equals("documentNode"))448 if (match.startsWith("documentNode")) 449 449 { 450 450 getRequiredMetadataNames(template, doc_meta_names); 451 451 } 452 else if (match. equals("classifierNode"))452 else if (match.startsWith("classifierNode")) // not match.equals, as we want to match nodes like: classifierNode[@classifierStyle = 'VList'] 453 453 { 454 454 getRequiredMetadataNames(template, class_meta_names);
Note:
See TracChangeset
for help on using the changeset viewer.