Ignore:
Timestamp:
2011-07-22T17:21:42+12:00 (13 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.

File:
1 edited

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;
Note: See TracChangeset for help on using the changeset viewer.