Changeset 731 for trunk/gsdl/src/recpt/receptionist.cpp
- Timestamp:
- 1999-10-20T16:55:03+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/receptionist.cpp
r722 r731 28 28 /* 29 29 $Log$ 30 Revision 1.37 1999/10/20 03:55:03 sjboddie 31 yet another problem with calling browserclass 32 processOID functions correctly 33 30 34 Revision 1.36 1999/10/19 03:23:44 davidb 31 35 Collection building support through web pages … … 868 872 if (get_info (OIDs, args["c"], metadata, false, collectproto, response, logout)) { 869 873 text_t classifytype; 870 MetadataInfo_tmap::iterator it = response.docInfo[0].metadata.find ("childtype"); 871 if (it != response.docInfo[0].metadata.end()) 872 classifytype = (*it).second.values[0]; 873 else { 874 it = response.docInfo[1].metadata.find ("childtype"); 875 if (it != response.docInfo[1].metadata.end()) 876 classifytype = (*it).second.values[0]; 874 if (!response.docInfo[0].metadata["childtype"].values[0].empty()) 875 classifytype = response.docInfo[0].metadata["childtype"].values[0]; 876 else if (!is_top (OID)) { 877 if (!response.docInfo[1].metadata["childtype"].values[0].empty()) 878 classifytype = response.docInfo[1].metadata["childtype"].values[0]; 877 879 } 878 880 browserclass *b = browsers.getbrowser (classifytype);
Note:
See TracChangeset
for help on using the changeset viewer.