Changeset 608 for trunk/gsdl/src/recpt/querytools.cpp
- Timestamp:
- 1999-09-21T23:34:42+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/querytools.cpp
r533 r608 28 28 /* 29 29 $Log$ 30 Revision 1.7 1999/09/21 11:32:42 sjboddie 31 added Maxdocs queryfilter option which may be -1 for 'all' 32 30 33 Revision 1.6 1999/09/07 04:56:58 sjboddie 31 34 added GPL notice … … 146 149 } 147 150 } 151 152 int arg_m = args.getintarg("m"); 153 154 option.name = "Maxdocs"; 155 option.value = arg_m; 156 request.filterOptions.push_back (option); 148 157 149 158 option.name = "StartResults"; … … 152 161 153 162 option.name = "EndResults"; 154 int arg_m = args.getintarg("m");155 163 int endresults = args.getintarg("o") + (args.getintarg("r") - 1); 156 if ( endresults > arg_m) endresults = arg_m;164 if ((endresults > arg_m) && (arg_m != -1)) endresults = arg_m; 157 165 option.value = endresults; 158 166 request.filterOptions.push_back (option);
Note:
See TracChangeset
for help on using the changeset viewer.