Changeset 4770
- Timestamp:
- 2003-06-23T15:20:01+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/pageaction.cpp
r4756 r4770 138 138 } else { 139 139 unsigned int search_types = 0; 140 cout << "search_types = "<<search_types <<endl;141 140 text_tarray::const_iterator type_here = cinfo->searchTypes.begin(); 142 141 text_tarray::const_iterator type_end = cinfo->searchTypes.end(); … … 151 150 } 152 151 coll_type += search_types; 153 cout << "new search_types = "<<search_types <<endl; 152 if (search_types == 3) { 153 // both were specified, now need to look at the order to see which is the default 154 type_here = cinfo->searchTypes.begin(); 155 if (*type_here == "form") { 156 coll_type += "&qt=1"; // set the default to form 157 } 158 } 154 159 155 160 } … … 282 287 } else { 283 288 int search_types = 0; 284 cout << "search_types = "<<search_types <<endl;285 289 text_tarray::const_iterator type_here = cinfo->searchTypes.begin(); 286 290 text_tarray::const_iterator type_end = cinfo->searchTypes.end(); … … 295 299 } 296 300 coll_type += search_types; 297 cout << "new search_types = "<<search_types <<endl;298 301 302 if (search_types == 3) { 303 // both were specified, now need to look at the order to see which is the default 304 type_here = cinfo->searchTypes.begin(); 305 if (*type_here == "form") { 306 coll_type += "&qt=1"; // set the default to form 307 } 308 } 299 309 } 300 310 }
Note:
See TracChangeset
for help on using the changeset viewer.