Changeset 1702
- Timestamp:
- 2000-11-27T10:50:12+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/browsefilter.cpp
r1285 r1702 207 207 } 208 208 // insert the last result in the set 209 if (!offsettext.empty()) offset_resultset.push_back (offsettext); 209 if (offsettext.empty()) 210 { 211 offset_resultset.push_back ("0"); 212 } 213 else 214 { 215 offset_resultset.push_back (offsettext); 216 } 210 217 } 211 218 else … … 249 256 intersect (resultset, request.docSet); 250 257 } 258 259 // add 0 offset for each 'contains' entry 260 text_tarray::iterator result_here = resultset.begin(); 261 text_tarray::iterator result_end = resultset.end(); 262 while (result_here != result_end) { 263 offset_resultset.push_back("0"); 264 result_here++; 265 } 251 266 } 252 267
Note:
See TracChangeset
for help on using the changeset viewer.