cvs: php-bugs-web / search.php

From: 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 @@ "&amp;search_for=" . urlencode(stripslashes($search_for)) . "&amp;php_os=" . urlencode(stripslashes($php_os)) . "&amp;boolean=" . BOOLEAN_SEARCH . + "&amp;author_email". urlencode(stripslashes($author_email)) . "&amp;bug_age=$bug_age&amp;by=$by&amp;order_by=$order_by&amp;direction=$direction&amp;phpver=$phpver&amp;limit=$limit&amp;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>

« previous php.mirrors (#18979) next »