Skip to content

Commit

Permalink
fix for show-more bug
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4191 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Nov 1, 2007
1 parent 5c5344a commit 93905e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htroot/IndexCreateIndexingQueue_p.java
Expand Up @@ -80,7 +80,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
switchboard.crawlQueues.errorURL.clearStack();
}
if (post.containsKey("moreRejected")) {
showRejectedCount = Integer.parseInt(post.get("showRejected", "10"));
showRejectedCount = post.getInt("showRejected", 10);
}
if (post.containsKey("clearIndexingQueue")) {
try {
Expand Down Expand Up @@ -168,7 +168,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
if (showRejectedCount != switchboard.crawlQueues.errorURL.stackSize()) {
prop.put("rejected_only-latest", "1");
prop.putNum("rejected_only-latest_num", showRejectedCount);
prop.putNum("rejected_only-latest_newnum", ((int) (showRejectedCount * 1.5)));
prop.put("rejected_only-latest_newnum", ((int) (showRejectedCount * 1.5)));
}else{
prop.put("rejected_only-latest", "0");
}
Expand Down

0 comments on commit 93905e5

Please sign in to comment.