Changeset 22142 for main/trunk/greenstone2/runtime-src/src/protocol
- Timestamp:
- 2010-05-20T20:59:01+12:00 (14 years ago)
- Location:
- main/trunk/greenstone2/runtime-src/src/protocol
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/protocol/recptproto.h
r16310 r22142 53 53 class recptproto { 54 54 public: 55 56 recptproto() {}; 57 virtual ~recptproto() {}; 55 58 56 59 // add collection server to protocol -
main/trunk/greenstone2/runtime-src/src/protocol/recptprototools.cpp
r16180 r22142 143 143 metadata.insert ("haschildren"); 144 144 145 if (get_info (OID, collection, lang, metadata, false, collectproto, response, logout))145 if (get_info (OID, collection, lang, metadata, true, collectproto, response, logout)) 146 146 { 147 147 if (response.docInfo[0].metadata["haschildren"].values[0] == "1") … … 216 216 { 217 217 FilterResponse_t tmp; 218 bool getParents = false;218 bool getParents = true; 219 219 get_children (section.OID, collection, lang, metadata, getParents, collectproto, tmp, logout); 220 220 ResultDocInfo_tarray::iterator thisdoc = tmp.docInfo.begin(); … … 244 244 245 245 // get topOIDs info 246 if (get_info (topOID, collection, lang, metadata, false, collectproto, response, logout))246 if (get_info (topOID, collection, lang, metadata, true, collectproto, response, logout)) 247 247 { 248 248 recurse_contents (response.docInfo[0], is_classify, collection, lang, metadata, collectproto, response, logout);
Note:
See TracChangeset
for help on using the changeset viewer.