summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuglist.cgi4
-rwxr-xr-xquery.cgi5
2 files changed, 7 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 22960537f..179e2d0dc 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -211,7 +211,7 @@ if (defined $::FORM{'sql'}) {
} else {
my @legal_fields = ("bug_id", "product", "version", "rep_platform", "op_sys",
"bug_status", "resolution", "priority", "bug_severity",
- "assigned_to", "reporter", "bug_file_loc", "component");
+ "assigned_to", "reporter", "component");
foreach my $field (keys %::FORM) {
my $or = "";
@@ -259,7 +259,7 @@ Click the <B>Back</B> button and try again.";
}
}
-foreach my $f ("short_desc", "long_desc") {
+foreach my $f ("short_desc", "long_desc", "bug_file_loc") {
if (defined $::FORM{$f}) {
my $s = SqlQuote(trim($::FORM{$f}));
if ($s ne "") {
diff --git a/query.cgi b/query.cgi
index 0637cb941..7c601721e 100755
--- a/query.cgi
+++ b/query.cgi
@@ -210,6 +210,11 @@ print "
<td><input type=radio name=long_desc_type value=substr checked>Substring</td>
<td><input type=radio name=long_desc_type value=regexp>Regexp</td>
</tr>
+<td align=right>URL:</td>
+<td><input name=bug_file_loc size=30></td>
+<td><input type=radio name=bug_file_loc_type value=substr checked>Substring</td>
+<td><input type=radio name=long_desc_type value=regexp>Regexp</td>
+</tr>
</table>
<p>