cvs: php-bugs-web / search.php
| From: | Philip Olson | Date: | Fri, 27 Jun 2003 06:32:17 +0000 |
| Subject: | cvs: php-bugs-web / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-18979@lists.php.net to get a copy of this message | ||
philip Fri Jun 27 02:32:17 2003 EDT
Modified files:
/php-bugs-web search.php
Log:
Add ability to limit search by developer/author email.
# docs to come.
Index: php-bugs-web/search.php
diff -u php-bugs-web/search.php:1.40 php-bugs-web/search.php:1.41
--- php-bugs-web/search.php:1.40 Wed Jun 11 19:23:40 2003
+++ php-bugs-web/search.php Fri Jun 27 02:32:17 2003
@@ -90,6 +90,10 @@
if (!empty($assign)) {
$where_clause .= " AND assign = '$assign'";
}
+
+ if (!empty($author_email)) {
+ $where_clause .= " AND email = '$author_email'";
+ }
$query .= "$where_clause ";
@@ -151,6 +155,7 @@
"&search_for=" . urlencode(stripslashes($search_for)) .
"&php_os=" . urlencode(stripslashes($php_os)) .
"&boolean=" . BOOLEAN_SEARCH .
+ "&author_email". urlencode(stripslashes($author_email)) .
"&bug_age=$bug_age&by=$by&order_by=$order_by&direction=$direction&phpver=$phpver&limit=$limit&assign=$assign";
?>
<table align="center" border="0" cellspacing="2"
width="95%">
@@ -265,6 +270,11 @@
}
?>
</td>
+ </tr>
+ <tr>
+ <th>Developer email</th>
+ <td nowrap="nowrap">Return only bugs with an email from</td>
+ <td><input type="text" name="author_email" value="<?php echo
htmlspecialchars(stripslashes($author_email)); ?>" /></td>
</tr>
<tr>
<th>Date</th>