We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ad832 commit 837814eCopy full SHA for 837814e
trunk/web/index.php
@@ -50,7 +50,7 @@
50
51
$view_apc_info = "";
52
$last_1000_id=0;
53
-$last_1000_id=pdo_query("select max(solution_id-1000) from solution");
+$last_1000_id=pdo_query(" select min(solution_id) from solution where in_date >= NOW() - INTERVAL 8 DAY ");
54
if(!empty($last_1000_id)) $last_1000_id=$last_1000_id[0][0];
55
if ($last_1000_id==NULL) $last_1000_id=0;
56
0 commit comments