- Timestamp:
- 2000-07-13T10:21:53+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New_Config_Format-branch/gsdl/src/colservr/browsefilter.cpp
r990 r1279 28 28 /* 29 29 $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 30 37 Revision 1.10 2000/02/29 01:35:56 sjboddie 31 38 tidied up endianness and fastcgi … … 85 92 filtopt.type = FilterOption_t::integert; 86 93 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"); 89 96 filtopt.validValues.push_back("10000"); 90 97 filterOptions["EndResults"] = filtopt; … … 298 305 299 306 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; 301 309 if (resultnum >= startresults) { 302 310 resultdoc.OID = (*result_here);
Note:
See TracChangeset
for help on using the changeset viewer.