Changeset 26343

Show
Ignore:
Timestamp:
18.10.2012 14:19:28 (6 years ago)
Author:
kjdon
Message:

output the indexOPtions

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/bin/script/convert_coll_from_gs2.pl

    r26124 r26343  
    259259    #output the defaultIndex to coll cfg 
    260260    $collwriter->emptyTag('defaultIndex','name'=>$defaultindex); 
     261 
     262    # indexOptions 
     263    if (defined $collectcfg->{'indexoptions'}) { 
     264    foreach my $i (@{$collectcfg->{'indexoptions'}}) { 
     265        $collwriter->emptyTag('indexOption', 'name'=>$i); 
     266    } 
     267    } 
    261268 
    262269    #indexSubcollection