Changeset 14947 for greenstone3


Ignore:
Timestamp:
2008-01-24T10:18:25+13:00 (16 years ago)
Author:
shaoqun
Message:

correct the last commitment

File:
1 edited

Legend:

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

    r14946 r14947  
    209209    // check the hits_per_page param - is it a service param??
    210210    String hits_pp = (String) service_params.get("hitsPerPage");
    211     //if (hits_pp != null) {
    212         // the service is doing the paging, so we want to display all of the returned docs
     211    if (hits_pp == null) {
     212        // the service is doing the paging, so we want to display all of the returned docs(???)
    213213    //    return (Element)this.doc.importNode(orig_doc_list, true);
    214     //}
    215    
    216     //String hits_pp = (String)params.get("hitsPerPage");
     214    // try hitsPerPage in the globle param
     215         hits_pp = (String)params.get("hitsPerPage");
     216        }
     217   
    217218    int hits = 20;
    218219    if (hits_pp != null && !hits_pp.equals("")) {
Note: See TracChangeset for help on using the changeset viewer.