Index: /main/trunk/greenstone2/runtime-src/src/recpt/documentaction.cpp =================================================================== --- /main/trunk/greenstone2/runtime-src/src/recpt/documentaction.cpp (revision 22046) +++ /main/trunk/greenstone2/runtime-src/src/recpt/documentaction.cpp (revision 22047) @@ -1286,5 +1286,5 @@ text_t formattedstring = args["q"]; format_querystring (formattedstring, args.getintarg("b"), segment); - set_queryfilter_options (request, formattedstring, args); + set_fulltext_queryfilter_options (request, formattedstring, args); args["q"] = formattedstring; // need to set this here for phrase // highlighting, where we look at the querystring @@ -1378,11 +1378,13 @@ int count = 0; while (sechere != secend) { - textout << outconvert << disp << "\n
\n"; + textout << outconvert << disp << "\n
\n"; int shastxt = (*sechere).metadata["hastxt"].values[0].getint(); + output_text (*sechere, formatlistptr, queryresponse.termInfo, (*sechere).OID, highlight, shastxt, wanttext, collection, collectproto, browsers, disp, outconvert, textout, logout, args); + ++count; ++sechere; @@ -1421,5 +1423,5 @@ text_t formattedstring = args["q"]; format_querystring (formattedstring, args.getintarg("b"), segment); - set_queryfilter_options (request, formattedstring, args); + set_fulltext_queryfilter_options (request, formattedstring, args); args["q"] = formattedstring; //need to set this here for phrase //highlighting, where we look at the querystring