Show
Ignore:
Timestamp:
22.07.2011 17:21:42 (8 years ago)
Author:
ak19
Message:

The collectionmeta field related to titles in modelcol's collect.cfg now contains ex.dc.Title. For its display in the indexes drop-down of the search page to map to the titles display name, needed to adjust the lookup that runtime-src's collectserver does.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/colservr/collectserver.cpp

    r24114 r24305  
    203203    text_t name = substr(cfgline[0].begin()+1,cfgline[0].end()); 
    204204    text_t new_name; 
     205     
     206    // make sure that any ex.XXX metadata in the string is turned into XXX for matching 
     207    name.replace("ex.",""); 
     208 
    205209    if (indexmap.from2to(name, new_name)) { 
    206210      meta_name = new_name;