mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
fix for show-more bug
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4191 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
5c5344ae97
commit
93905e5c7b
|
@ -80,7 +80,7 @@ public class IndexCreateIndexingQueue_p {
|
|||
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 {
|
||||
|
@ -168,7 +168,7 @@ public class IndexCreateIndexingQueue_p {
|
|||
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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user