Changeset 8575
- Timestamp:
- 2004-11-16T16:49:03+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/action/GS2BrowseAction.java
r6695 r8575 93 93 // the id of the classifier is the top id of the selected node 94 94 String top_id = OID.getTop(classifier_node); 95 96 95 HashSet doc_meta_names = new HashSet(); 97 96 HashSet class_meta_names = new HashSet(); … … 127 126 horizontal_at_top = true; 128 127 } 129 128 if (top_id.equals(classifier_node) && horizontal_at_top) { 129 // we have asked for a top node - if the first list is horizontal, we will select the first element of that list 130 // this is a hack. also it craps out if the classifier really isn't horizontalAtTop. 131 classifier_node = classifier_node+".1"; 132 133 } 134 130 135 // get the browse structure for the selected node 131 136 Element classify_message = this.doc.createElement(GSXML.MESSAGE_ELEM); … … 301 306 } 302 307 303 308 304 309 protected void extractMetadataNames(Element new_format, HashSet doc_meta_names, HashSet class_meta_names) { 305 310
Note:
See TracChangeset
for help on using the changeset viewer.