Bug 251567: Make sure "find a specific bug" doesn't miss exact matches in summary

r=justdave
a=justdave
This commit is contained in:
bugreport%peshkin.net 2004-07-17 01:33:51 +00:00
parent fd9b3c984a
commit 250919719d

View File

@ -306,7 +306,15 @@ sub init {
}
if (defined $params->param('content')) {
push(@specialchart, ['content', 'matches', $params->param('content')]);
# Append a new chart implementing content quicksearch
my $chart;
for ($chart = 0 ; $params->param("field$chart-0-0") ; $chart++) {};
$params->param("field$chart-0-0", 'content');
$params->param("type$chart-0-0", 'matches');
$params->param("value$chart-0-0", $params->param('content'));
$params->param("field$chart-0-1", 'short_desc');
$params->param("type$chart-0-1", 'allwords');
$params->param("value$chart-0-1", $params->param('content'));
}
my $chartid;