Changeset 1256
- Timestamp:
- 2000-06-30T10:02:23+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/browsefilter.cpp
r990 r1256 28 28 /* 29 29 $Log$ 30 Revision 1.11 2000/06/29 22:02:23 sjboddie 31 Made BrowseFilters EndResults option take -1 (i.e. "all"). This is mostly 32 to be consistent with the QueryFilter 33 30 34 Revision 1.10 2000/02/29 01:35:56 sjboddie 31 35 tidied up endianness and fastcgi … … 85 89 filtopt.type = FilterOption_t::integert; 86 90 filtopt.repeatable = FilterOption_t::onePerQuery; 87 filtopt.defaultValue = " 10000";88 filtopt.validValues.push_back(" 1");91 filtopt.defaultValue = "-1"; 92 filtopt.validValues.push_back("-1"); 89 93 filtopt.validValues.push_back("10000"); 90 94 filterOptions["EndResults"] = filtopt; … … 298 302 299 303 while (result_here != result_end) { 300 if (resultnum > endresults) break; 304 // if endresults is -1 get all results 305 if ((endresults != -1) && (resultnum > endresults)) break; 301 306 if (resultnum >= startresults) { 302 307 resultdoc.OID = (*result_here);
Note:
See TracChangeset
for help on using the changeset viewer.