Commit fd18dd28 authored by terry%netscape.com's avatar terry%netscape.com

Allow querying of URL.

parent 182523cd
...@@ -211,7 +211,7 @@ if (defined $::FORM{'sql'}) { ...@@ -211,7 +211,7 @@ if (defined $::FORM{'sql'}) {
} else { } else {
my @legal_fields = ("bug_id", "product", "version", "rep_platform", "op_sys", my @legal_fields = ("bug_id", "product", "version", "rep_platform", "op_sys",
"bug_status", "resolution", "priority", "bug_severity", "bug_status", "resolution", "priority", "bug_severity",
"assigned_to", "reporter", "bug_file_loc", "component"); "assigned_to", "reporter", "component");
foreach my $field (keys %::FORM) { foreach my $field (keys %::FORM) {
my $or = ""; my $or = "";
...@@ -259,7 +259,7 @@ Click the <B>Back</B> button and try again."; ...@@ -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}) { if (defined $::FORM{$f}) {
my $s = SqlQuote(trim($::FORM{$f})); my $s = SqlQuote(trim($::FORM{$f}));
if ($s ne "") { if ($s ne "") {
......
...@@ -210,6 +210,11 @@ print " ...@@ -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=substr checked>Substring</td>
<td><input type=radio name=long_desc_type value=regexp>Regexp</td> <td><input type=radio name=long_desc_type value=regexp>Regexp</td>
</tr> </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> </table>
<p> <p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment