Changeset 14944


Ignore:
Timestamp:
2008-01-15T10:22:38+13:00 (14 years ago)
Author:
shaoqun
Message:

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

File:
1 edited

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