- Timestamp:
- 2010-05-06T12:55:03+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/recpt/formattools.cpp
r21808 r22046 1265 1265 1266 1266 ResultDocInfo_t& trav_docinfo = trav_response.docInfo[0]; 1267 1267 1268 // use this for rest of routine 1268 1269 docinfo = trav_docinfo; … … 1281 1282 here++; 1282 1283 if (*(oid.begin()) == '"') translate_parent (oid, docinfo.OID); 1283 1284 1284 1285 //get the information associated with the metadata for child doc 1285 1286 if (!get_info (oid, collection, "", child_metadata, … … 1296 1297 text_t child_metavalue 1297 1298 = get_formatted_meta_text(child_docinfo.OID,metaname_rec,meta,siblings_values); 1299 1300 1298 1301 if (!first) result += child_field; 1299 1302 first = false; 1300 1303 // need to do this here cos otherwise we are in the wrong document 1301 result += expand_metadata(child_metavalue,collection,collectproto, 1302 child_docinfo,disp,options,logout); 1304 text_t em = expand_metadata(child_metavalue,collection,collectproto, 1305 child_docinfo,disp,options,logout); 1306 1307 result += em; 1303 1308 } 1304 1309 return result;
Note:
See TracChangeset
for help on using the changeset viewer.