Changeset 2456
- Timestamp:
- 2001-05-22T13:16:42+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browseaction.cpp
r2449 r2456 26 26 #include "browseaction.h" 27 27 #include "querytools.h" 28 #include "browse tools.h"28 #include "browseactiontools.h" 29 29 30 30 browseaction::browseaction(){ … … 159 159 displayclass &disp, outconvertclass &outconvert, 160 160 ostream &textout, ostream &logout){ 161 //cout<<"in doc list"<<endl;162 161 163 162 text_t collection = args["c"]; 164 163 comerror_t err; 164 text_t list_type = "VList"; //result display type 165 165 166 166 //check that the protocol is alive … … 180 180 return false; 181 181 } 182 183 browserclass* br_ptr = browsers->getbrowser(list_type); 184 185 FilterRequest_t request; 186 FilterResponse_t response; 187 188 //set up browser structure 189 br_ptr->set_filter_options(request, args); 190 br_ptr->load_metadata_defaults(request.fields); 191 192 //set up format information 193 format_t* formatptr = new format_t(); 194 parse_formatstring(br_ptr->get_default_formatstring(), formatptr, 195 request.fields, request.getParents); 196 197 request.filterResultOptions = FROID | FRmetadata; 198 199 //set up querystring; 200 text_t newqstring = ""; 201 format_qstring(args["bft"],newqstring,args.getintarg("bt")); 202 203 //check that there is a querystring 204 //if(!newqstring.empty()){ 205 206 182 207 183 208 return true; 184 209 } 185 210 211 212 213 214
Note:
See TracChangeset
for help on using the changeset viewer.