Changeset 14944

Show
Ignore:
Timestamp:
15.01.2008 10:22:38 (12 years ago)
Author:
shaoqun
Message:

make it use the default level specified in the collectionConfig.xml

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/cfgread4gs3.pm

    r14741 r14944  
    539539        } 
    540540    } 
    541     # even if the user has assigned a default level, we ignore it. Why? 
    542     # I don't know, but it seems it's the way how the serving works 
    543     #if (defined $collectcfg->{"defaultlevel"}) { 
    544     #  $default_search_level = $levelmap->{$collectcfg->{"defaultlevel"}}; 
     541    # the default level assigned by the user is no longer ignored [Shaoqun], but the retrievel level stays the same.  
     542        #if (defined $collectcfg->{"defaultlevel"}) { 
     543    $default_search_level = $levelmap->{$collectcfg->{"defaultlevel"}}; 
    545544        #  $default_retrieve_level = $default_search_level; 
    546545    #}