Changeset 11304


Ignore:
Timestamp:
2006-03-07T14:20:05+13:00 (18 years ago)
Author:
kjdon
Message:

when switching advanced searching on/off. now we call setMGPPEnabled in indexmanager so that the indexes get updated - otherwise, if the user doesn't visit the indexes pane, then they are not updated and collection building craps out

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/SearchTypeManager.java

    r11038 r11304  
    408408        model.root.setAttribute(CollectionConfiguration.ASSIGNED_ATTRIBUTE, (advanced_search_enabled ? CollectionConfiguration.TRUE_STR : CollectionConfiguration.FALSE_STR));
    409409        validateControls(advanced_search_enabled);
     410        // change the indexes
     411        CollectionDesignManager.index_manager.setMGPPEnabled(advanced_search_enabled);
    410412        if ((!build_type.isAssigned() && advanced_search_enabled) ||
    411413            (build_type.isAssigned() && !advanced_search_enabled)) {
Note: See TracChangeset for help on using the changeset viewer.