|
|
|
@ -399,12 +399,10 @@ public class yacysearch {
|
|
|
|
|
prop.put("num-results_resnav", resnav.toString());
|
|
|
|
|
|
|
|
|
|
// generate the search result lines; they will be produced by another servlet
|
|
|
|
|
int m = Math.min(theQuery.displayResults(), totalcount);
|
|
|
|
|
for (int i = 0; i < m; i++) {
|
|
|
|
|
for (int i = 0; i < theQuery.displayResults(); i++) {
|
|
|
|
|
prop.put("results_" + i + "_item", offset + i);
|
|
|
|
|
prop.put("results_" + i + "_eventID", theQuery.id(false));
|
|
|
|
|
prop.put("results_" + i + "_display", display);
|
|
|
|
|
prop.put("results_" + i + "_nl", (i < m - 1) ? 1 : 0);
|
|
|
|
|
}
|
|
|
|
|
prop.put("results", theQuery.displayResults());
|
|
|
|
|
prop.put("resultTable", (contentdomCode <= 1) ? "0" : "1");
|
|
|
|
|