Changeset 14947 for greenstone3/trunk
- Timestamp:
- 2008-01-24T10:18:25+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/src/java/org/greenstone/gsdl3/action/QueryAction.java
r14946 r14947 209 209 // check the hits_per_page param - is it a service param?? 210 210 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(???) 213 213 // 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 217 218 int hits = 20; 218 219 if (hits_pp != null && !hits_pp.equals("")) {
Note:
See TracChangeset
for help on using the changeset viewer.