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/AbstractSearch.java

    r30049 r32453  
    128128          getSearchParamDefaults(search_elem);
    129129        }
     130
     131        // store any that we need to save
     132        // previously these were all saved by default, so adding them all
     133        this.save_params.add(INDEX_PARAM);
     134        this.save_params.add(QUERY_PARAM);
     135        this.save_params.add(RAW_PARAM);
     136        this.save_params.add(MAXDOCS_PARAM);
     137        this.save_params.add(HITS_PER_PAGE_PARAM);
     138        this.save_params.add(START_PAGE_PARAM);
     139       
    130140        // add some format info to service map if there is any
    131141        // => lookin extra info first look in buildConfig
Note: See TracChangeset for help on using the changeset viewer.