cvs: php-bugs-web / search.php /include functions.inc

From: Date: Sat, 05 Jan 2002 03:13:15 +0000
Subject: cvs: php-bugs-web / search.php /include functions.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-8099@lists.php.net to get a copy of this message
imajes Fri Jan 4 22:13:15 2002 EDT Modified files: /php-bugs-web search.php /php-bugs-web/include functions.inc Log: replacing Stale, Adding Fresh. Index: php-bugs-web/search.php diff -u php-bugs-web/search.php:1.10 php-bugs-web/search.php:1.11 --- php-bugs-web/search.php:1.10 Fri Jan 4 21:17:00 2002 +++ php-bugs-web/search.php Fri Jan 4 22:13:14 2002 @@ -28,7 +28,9 @@ $where_clause .= " AND (status='Open' OR status='Assigned' OR status='Analyzed' OR status='Critical')"; } elseif ($status == "Old Feedback") { $where_clause .= " AND status='Feedback' AND TO_DAYS(NOW())-TO_DAYS(ts2)>60"; - } elseif ($status == "Recent") { + } elseif ($status == "Fresh") { + $where_clause .= " AND status != 'Closed' AND status != 'Duplicate' AND status != 'Bogus' AND TO_DAYS(NOW())-TO_DAYS(ts2) < 30"; + } elseif ($status == "Stale") { $where_clause .= " AND status != 'Closed' AND status != 'Duplicate' AND status != 'Bogus' AND TO_DAYS(NOW())-TO_DAYS(ts2) > 30"; } elseif ($status && $status != "All") { $where_clause .= " AND status='$status'"; Index: php-bugs-web/include/functions.inc diff -u php-bugs-web/include/functions.inc:1.6 php-bugs-web/include/functions.inc:1.7 --- php-bugs-web/include/functions.inc:1.6 Fri Jan 4 21:17:00 2002 +++ php-bugs-web/include/functions.inc Fri Jan 4 22:13:15 2002 @@ -44,7 +44,8 @@ "Suspended" => 1, "Feedback" => 1, "Old Feedback" => 0, - "Recent" => 0, + "Stale" => 0, + "Fresh" => 0, "Bogus" => 1, "All" => 0 );

« previous php.mirrors (#8099) next »