Changeset 33772


Ignore:
Timestamp:
2019-12-09T11:35:15+13:00 (4 years ago)
Author:
kjdon
Message:

don't need to pass in ServiceRack to getTextSTring anymore. ServiceRack.properties has changed to core_servlet_dictionary.properties, and Dictionary.getTExtString will look there is a dictionary/class name is not provided

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/QueryAction.java

    r32448 r33772  
    440440  protected boolean addHitsParamToService(Document doc, Element service_description, String lang) {
    441441    Element param_list = (Element)GSXML.getChildByTagName(service_description, GSXML.PARAM_ELEM+GSXML.LIST_MODIFIER);
    442     Element param = GSXML.createParameterDescription(doc, HITS_PER_PAGE_ARG, getTextString("param." + HITS_PER_PAGE_ARG, lang, "ServiceRack", null), GSXML.PARAM_TYPE_INTEGER, "20", null, null);
     442    Element param = GSXML.createParameterDescription(doc, HITS_PER_PAGE_ARG, getTextString("param." + HITS_PER_PAGE_ARG, lang, null), GSXML.PARAM_TYPE_INTEGER, "20", null, null);
    443443    Element query_param = GSXML.getNamedElement(param_list, GSXML.PARAM_ELEM, GSXML.NAME_ATT, "query");
    444444    if (query_param != null) {
Note: See TracChangeset for help on using the changeset viewer.