Ignore:
Timestamp:
1999-08-11T10:45:21+12:00 (25 years ago)
Author:
sjboddie
Message:

format option ShowTopPages is now called DocumentTopPages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/receptionist.cpp

    r438 r446  
    1212/*
    1313   $Log$
     14   Revision 1.22  1999/08/10 22:45:21  sjboddie
     15   format option ShowTopPages is now called DocumentTopPages
     16
    1417   Revision 1.21  1999/08/09 04:25:17  sjboddie
    1518   moved OID translation stuff from documentaction::define_external_macros
     
    670673  text_t &arg_gp = args["gp"];
    671674
    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;
    675678 
    676679  // do a call to translate OIDs if required
    677680  request.filterName = "NullFilter";
    678681  request.filterResultOptions = FROID;
    679   if ((!arg_d.empty()) && (needs_translating (arg_d) || !ShowTopPages)) {
     682  if ((!arg_d.empty()) && (needs_translating (arg_d) || !DocumentTopPages)) {
    680683    request.docSet.insert (arg_d);
    681684    request.fields.push_back ("classifytype");
     
    687690    text_t &classifytype = response.docInfo[0].metadata[0].values[0];
    688691    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";
    690693   
    691694    request.clear();
Note: See TracChangeset for help on using the changeset viewer.