Changeset 26343


Ignore:
Timestamp:
2012-10-18T14:19:28+13:00 (12 years ago)
Author:
kjdon
Message:

output the indexOPtions

File:
1 edited

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