Ignore:
Timestamp:
2018-09-13T14:18:16+12:00 (6 years ago)
Author:
kjdon
Message:

replacing hard coded param names with static string variables. set up save params for those params we need to save to the session.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/GS2LuceneSearch.java

    r32084 r32453  
    6464    }
    6565
     66  public boolean configure(Element info, Element extra_info)
     67  {
     68    if (!super.configure(info, extra_info))
     69      {
     70    return false;
     71      }
     72    logger.info("Configuring GS2LuceneSearch...");
     73
     74    // add our reverseSort param to be saved to the session
     75    this.save_params.add(SORT_ORDER_PARAM);
     76    return true;
     77  }
    6678    /** add in the Lucene specific params to TextQuery */
    6779    protected void addCustomQueryParams(Element param_list, String lang)
Note: See TracChangeset for help on using the changeset viewer.