Changeset 649 for trunk/gsdl/src/recpt/queryaction.cpp
- Timestamp:
- 1999-10-10T21:14:12+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/queryaction.cpp
r634 r649 28 28 /* 29 29 $Log$ 30 Revision 1.26 1999/10/10 08:14:10 sjboddie 31 - metadata now returns mp rather than array 32 - redesigned browsing support (although it's not finished so 33 won't currently work ;-) 34 30 35 Revision 1.25 1999/09/24 04:49:39 sjboddie 31 36 fixed up the query selection boxes to display properly if there's only … … 517 522 518 523 if (havequerylink) 519 request.fields.push_back (querylinkmeta); 520 521 int metasize = request.fields.size(); 524 request.fields.insert (querylinkmeta); 522 525 523 526 // do the query … … 535 538 // output the results 536 539 textout << "<table cellspacing=4>\n"; 537 ResultDocInfo_tarray:: const_iterator this_doc = response.docInfo.begin();538 ResultDocInfo_tarray:: const_iterator end_doc = response.docInfo.end();540 ResultDocInfo_tarray::iterator this_doc = response.docInfo.begin(); 541 ResultDocInfo_tarray::iterator end_doc = response.docInfo.end(); 539 542 540 543 while (this_doc != end_doc) { … … 544 547 textout << "<tr>\n"; 545 548 if (havequerylink) { 546 const text_t &qlmeta = (*this_doc).metadata[ metasize-1].values.back();549 const text_t &qlmeta = (*this_doc).metadata[querylinkmeta].values[0]; 547 550 if (qlmeta.empty()) 548 551 textout << outconvert << disp
Note:
See TracChangeset
for help on using the changeset viewer.