- Timestamp:
- 2007-08-15T13:02:53+12:00 (17 years ago)
- Location:
- gsdl/trunk/perllib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/basebuilder.pm
r14245 r14374 440 440 } 441 441 } 442 $build_cfg->{'indexmap'} = \@indexmap ;442 $build_cfg->{'indexmap'} = \@indexmap if scalar (@indexmap); 443 443 444 444 my @subcollectionmap = (); -
gsdl/trunk/perllib/mgppbuilder.pm
r13813 r14374 789 789 my @indexfieldmap = (); 790 790 my @indexfields = (); 791 791 my @indexmap = (); 792 792 793 if (scalar(keys %{$self->{'buildproc'}->{'indexfieldmap'}}) == 0) { 793 794 # set the default mapping … … 822 823 } 823 824 825 if (defined $buildcfg->{'indexmap'}) { 826 foreach $field (@{$buildcfg->{'indexmap'}}) { 827 push (@indexmap, "$field"); 828 } 829 } 830 824 831 $self->{'build_cfg'}->{'indexfieldmap'} = \@indexfieldmap; 825 832 $self->{'build_cfg'}->{'indexfields'} = \@indexfields; 833 $self->{'build_cfg'}->{'indexmap'} = \@indexmap; 826 834 } 827 835
Note:
See TracChangeset
for help on using the changeset viewer.