svn: /web/php-bugs/trunk/ include/query.php www/search.php
| From: | Felipe Pena | Date: | Fri, 19 Nov 2010 14:46:56 +0000 |
| Subject: | svn: /web/php-bugs/trunk/ include/query.php www/search.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9498@lists.php.net to get a copy of this message | ||
felipe Fri, 19 Nov 2010 14:46:56 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305558
Log:
- Updated the search part
Changed paths:
U web/php-bugs/trunk/include/query.php
U web/php-bugs/trunk/www/search.php
Modified: web/php-bugs/trunk/include/query.php
===================================================================
--- web/php-bugs/trunk/include/query.php 2010-11-19 14:35:57 UTC (rev 305557)
+++ web/php-bugs/trunk/include/query.php 2010-11-19 14:46:56 UTC (rev 305558)
@@ -65,7 +65,7 @@
if (!$is_trusted_developer) {
/* Non trusted developer should see the Security related bug report just when it is public */
- $where_clause .= ' AND (bugdb.package_name <> "Security related" OR private
= "N") ';
+ $where_clause .= ' AND (bugdb.bug_type <> "Security" OR private =
"N") ';
}
if (!empty($package_name)) {
Modified: web/php-bugs/trunk/www/search.php
===================================================================
--- web/php-bugs/trunk/www/search.php 2010-11-19 14:35:57 UTC (rev 305557)
+++ web/php-bugs/trunk/www/search.php 2010-11-19 14:46:56 UTC (rev 305558)
@@ -120,7 +120,7 @@
<?php
while ($row = $res->fetchRow(MDB2_FETCHMODE_ASSOC)) {
- $status_class = $row['package_name'] == 'Security related' ?
'Sec' : $tla[$row['status']];
+ $status_class = $row['bug_type'] == 'Security' ? 'Sec' :
$tla[$row['status']];
echo ' <tr valign="top" class="' , $status_class,
'">' , "\n";