Changeset 634
- Timestamp:
- 1999-09-24T16:49:39+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/queryaction.cpp
r622 r634 28 28 /* 29 29 $Log$ 30 Revision 1.25 1999/09/24 04:49:39 sjboddie 31 fixed up the query selection boxes to display properly if there's only 32 a single index/sub-collection 33 30 34 Revision 1.24 1999/09/22 03:44:31 sjboddie 31 35 EndResults query filter option may now take '-1' for 'all' … … 402 406 const FilterOption_t &option, displayclass &disp) { 403 407 408 if (option.validValues.empty()) return; 409 else if (option.validValues.size() == 1) { 410 disp.setmacro (macroname + "selection", "Global", "_" + option.defaultValue + "_"); 411 return; 412 } 404 413 if (option.validValues.size() < 2) return; 405 414 406 415 text_t macrovalue = "<select name=\"" + macroname + "\">\n"; 407 416 408 417 if (current_value.empty()) current_value = option.defaultValue; 409 418 410 419 text_tarray::const_iterator thisvalue = option.validValues.begin(); 411 420 text_tarray::const_iterator endvalue = option.validValues.end();
Note:
See TracChangeset
for help on using the changeset viewer.