Ignore:
Timestamp:
2000-07-13T10:21:53+12:00 (24 years ago)
Author:
sjboddie
Message:

merged changes to trunk into New_Config_Format branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/New_Config_Format-branch/gsdl/src/colservr/browsefilter.cpp

    r990 r1279  
    2828/*
    2929   $Log$
     30   Revision 1.10.4.1  2000/07/12 22:21:26  sjboddie
     31   merged changes to trunk into New_Config_Format branch
     32
     33   Revision 1.11  2000/06/29 22:02:23  sjboddie
     34   Made BrowseFilters EndResults option take -1 (i.e. "all"). This is mostly
     35   to be consistent with the QueryFilter
     36
    3037   Revision 1.10  2000/02/29 01:35:56  sjboddie
    3138   tidied up endianness and fastcgi
     
    8592  filtopt.type = FilterOption_t::integert;
    8693  filtopt.repeatable = FilterOption_t::onePerQuery;
    87   filtopt.defaultValue = "10000";
    88   filtopt.validValues.push_back("1");
     94  filtopt.defaultValue = "-1";
     95  filtopt.validValues.push_back("-1");
    8996  filtopt.validValues.push_back("10000");
    9097  filterOptions["EndResults"] = filtopt;
     
    298305
    299306      while (result_here != result_end) {
    300     if (resultnum > endresults) break;
     307    // if endresults is -1 get all results
     308    if ((endresults != -1) && (resultnum > endresults)) break;
    301309    if (resultnum >= startresults) {
    302310      resultdoc.OID = (*result_here);
Note: See TracChangeset for help on using the changeset viewer.