Changeset 2646 for trunk/gsdl/src/recpt/documentaction.cpp
- Timestamp:
- 2001-07-12T14:48:18+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/documentaction.cpp
r2422 r2646 582 582 comerror_t err; 583 583 OptionValue_tarray options; 584 // we need to know what the query wasfor the z3950proto584 // we need to do the query again for the z3950proto 585 585 if (collectproto->get_protocol_name(err)=="z3950proto") { 586 586 OptionValue_t opt; 587 opt.name="Query"; 588 opt.value=args["q"]; 587 opt.name="Term";opt.value=args["q"];options.push_back(opt); 588 opt.name="QueryType"; 589 opt.value=(args.getintarg("t")) ? "ranked" : "boolean"; 589 590 options.push_back(opt); 591 opt.name="Index";opt.value=args["h"];options.push_back(opt); 590 592 } 591 593 … … 757 759 758 760 // output the table of contents 759 logout << "formatinfo.RelatedDocs: " << formatinfo.RelatedDocuments.getcstr() << endl;760 761 output_toc (args, browsers, formatinfo, collectproto, 761 762 disp, outconvert, textout, logout);
Note:
See TracChangeset
for help on using the changeset viewer.