Ignore:
Timestamp:
2008-06-24T13:44:40+12:00 (16 years ago)
Author:
mdewsnip
Message:

Changed the general "-group_using" option into the specific "-group_by_first_character" option, because this is really all the code supports at the moment.

File:
1 edited

Legend:

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

    r16118 r16119  
    178178  int classifier_node_indent = 0;
    179179
    180   // Begin with the (optional) grouping nodes
     180  // (Optional) Output an hlist to group the classifier nodes into buckets based on the first character
    181181  text_t selected_grouping_node_OID = "";
    182   if (!classifier_options["-group_using"].empty())
    183   {
    184     selected_grouping_node_OID = output_hlist_classifier_nodes (current_classifier_node_OID, current_metadata_value_filter, classifier_options["-group_using"], classifier_options, args, collectproto, browsers, disp, outconvert, textout, logout);
     182  if (!classifier_options["-group_by_first_character"] == "1")
     183  {
     184    selected_grouping_node_OID = output_hlist_classifier_nodes (current_classifier_node_OID, current_metadata_value_filter, "substr(value,1,1)", classifier_options, args, collectproto, browsers, disp, outconvert, textout, logout);
    185185
    186186    current_classifier_node_OID = selected_grouping_node_OID;
     
    188188  }
    189189
    190   // Next, optionally display an hlist level
     190  // (Optional) Output an hlist instead of a vlist at the top level
    191191  text_t selected_hlist_node_OID = "";
    192192  if (classifier_options["-use_hlist_at_top"] == "1")
Note: See TracChangeset for help on using the changeset viewer.