Ignore:
Timestamp:
2008-05-30T16:00:47+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding dynamic classifiers) Not sure if this is necessarily the best place to do this, but added the ability to request the documents from a "get_documents_with_metadata_value()" call to be sorted based on a certain metadata element. Thanks to John Thompson for the SQL statement help.

File:
1 edited

Legend:

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

    r15834 r15836  
    168168    text_t metadata_value = arg_dcn;
    169169    FilterResponse_t document_OIDs_response;
    170     get_documents_with_metadata_value (metadata_element_name, metadata_value, args["c"], collectproto, document_OIDs_response, logout);
     170    get_documents_with_metadata_value (metadata_element_name, metadata_value, "dls.Title", args["c"], collectproto, document_OIDs_response, logout);
    171171
    172172    // Check the metadata value is valid
Note: See TracChangeset for help on using the changeset viewer.