Changeset 446 for trunk/gsdl/src/recpt/receptionist.cpp
- Timestamp:
- 1999-08-11T10:45:21+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/receptionist.cpp
r438 r446 12 12 /* 13 13 $Log$ 14 Revision 1.22 1999/08/10 22:45:21 sjboddie 15 format option ShowTopPages is now called DocumentTopPages 16 14 17 Revision 1.21 1999/08/09 04:25:17 sjboddie 15 18 moved OID translation stuff from documentaction::define_external_macros … … 670 673 text_t &arg_gp = args["gp"]; 671 674 672 bool ShowTopPages = true;673 text_tmap::const_iterator it = collectinfo.format.find(" ShowTopPages");674 if ((it != collectinfo.format.end()) && ((*it).second == "false")) ShowTopPages = false;675 bool DocumentTopPages = true; 676 text_tmap::const_iterator it = collectinfo.format.find("DocumentTopPages"); 677 if ((it != collectinfo.format.end()) && ((*it).second == "false")) DocumentTopPages = false; 675 678 676 679 // do a call to translate OIDs if required 677 680 request.filterName = "NullFilter"; 678 681 request.filterResultOptions = FROID; 679 if ((!arg_d.empty()) && (needs_translating (arg_d) || ! ShowTopPages)) {682 if ((!arg_d.empty()) && (needs_translating (arg_d) || !DocumentTopPages)) { 680 683 request.docSet.insert (arg_d); 681 684 request.fields.push_back ("classifytype"); … … 687 690 text_t &classifytype = response.docInfo[0].metadata[0].values[0]; 688 691 if (classifytype.empty() || classifytype == "Book") 689 if (! ShowTopPages && is_top (arg_d)) arg_d += ".fc";692 if (!DocumentTopPages && is_top (arg_d)) arg_d += ".fc"; 690 693 691 694 request.clear();
Note:
See TracChangeset
for help on using the changeset viewer.