Changeset 14947 for greenstone3

Show
Ignore:
Timestamp:
24.01.2008 10:18:25 (12 years ago)
Author:
shaoqun
Message:

correct the last commitment

Files:
1 modified

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("")) {