Changeset 16108


Ignore:
Timestamp:
2008-06-23T16:35:56+12:00 (16 years ago)
Author:
mdewsnip
Message:

Now uses a <ID>DocumentNodes format statement for displaying the document nodes. Wow, a separate format statement for classifier nodes and document nodes -- what a breakthrough!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/recpt/dynamicclassifieraction.cpp

    r16107 r16108  
    489489  if (documents_response.docInfo.empty()) return;
    490490
    491   // Get the format statement for this classifier if there is one, or use the browser's default otherwise
     491  // Get the format statement for the document nodes if there is one, or use the browser's default otherwise
    492492  text_t formatstring;
    493   text_t classifier_type = "VList";
    494   browserclass *bptr = browsers->getbrowser (classifier_type);
     493  browserclass *bptr = browsers->getbrowser ("VList");
    495494  ColInfoResponse_t *cinfo = recpt->get_collectinfo_ptr (collectproto, args["c"], logout);
    496   if (!get_formatstring (args["dcl"], classifier_type, cinfo->format, formatstring))
     495  if (!get_formatstring (args["dcl"], "DocumentNodes", cinfo->format, formatstring))
    497496  {
    498497    formatstring = bptr->get_default_formatstring();
Note: See TracChangeset for help on using the changeset viewer.