greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16108

Show
Ignore:
Timestamp:
2008-06-23 16:35:56 (7 months 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!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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();