Changeset 11324


Ignore:
Timestamp:
2006-03-10T15:16:35+13:00 (18 years ago)
Author:
mdewsnip
Message:

Changed the related documents code to use "dc.Relation" instead of "relation" metadata -- not the final solution, but at least you can add this manually now.

File:
1 edited

Legend:

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

    r11146 r11324  
    408408
    409409  //insert the metadata we wish to collect
    410   metadata.insert("relation");
     410  metadata.insert("dc.Relation");
    411411  metadata.insert("Title"); 
    412412  metadata.insert("Subject"); //for emails, where title data doesn't apply
     
    422422   
    423423    //if the relation metadata exists, store for displaying
    424     if(!response.docInfo[0].metadata["relation"].values.empty()){
    425       relationOID += response.docInfo[0].metadata["relation"].values[0];
     424    if(!response.docInfo[0].metadata["dc.Relation"].values.empty()){
     425      relationOID += response.docInfo[0].metadata["dc.Relation"].values[0];
    426426
    427427      //split relation data into pairs of collectionname,ID number
Note: See TracChangeset for help on using the changeset viewer.