| 1 |
<form method="GET"> |
| 2 |
<input type="hidden" name="_fo_combine_key_fo_searchkey_value_fo_searchvalue" value="1"> |
| 3 |
<input type="hidden" name="form_options" value="1"> |
| 4 |
<table class="forms"> |
| 5 |
<tr><td><h2>Select bugs</h2> |
| 6 |
</td> |
| 7 |
<td> |
| 8 |
{ my $output = ''; |
| 9 |
our $value_index = 0; |
| 10 |
our $search = ''; |
| 11 |
our $search_value = ''; |
| 12 |
for my $key (@search_key_order){ |
| 13 |
if (exists $param{$key}){ |
| 14 |
for my $value (make_list($param{$key})){ |
| 15 |
$search = $key; |
| 16 |
$search_value = $value; |
| 17 |
$output .= include('cgi/pkgreport_options_search_key'); |
| 18 |
$output .= '<br>'; |
| 19 |
$value_index++; |
| 20 |
} |
| 21 |
} |
| 22 |
} |
| 23 |
$search = ''; |
| 24 |
$search_value = ''; |
| 25 |
$output; |
| 26 |
} |
| 27 |
{include('cgi/pkgreport_options_search_key')} |
| 28 |
</td> |
| 29 |
<td> |
| 30 |
<p>The same search fields are ORed, different fields are ANDed.</p> |
| 31 |
<p>Valid severities are {$config{show_severities}}</p> |
| 32 |
<p>Valid tags are {join(', ',@{$config{tags}})}</p> |
| 33 |
</td> |
| 34 |
</tr> |
| 35 |
<tr><td><h2>Include Bugs</h2></td> |
| 36 |
<td>{our $incexc = 'include'; |
| 37 |
include('cgi/pkgreport_options_include_exclude'); |
| 38 |
}</td> |
| 39 |
<td></td> |
| 40 |
</tr> |
| 41 |
<tr><td><h2>Exclude Bugs</h2></td> |
| 42 |
<td> |
| 43 |
{our $incexc = 'exclude'; |
| 44 |
include('cgi/pkgreport_options_include_exclude'); |
| 45 |
} |
| 46 |
</td> |
| 47 |
<td></td> |
| 48 |
</tr> |
| 49 |
<tr><td><h2>Categorize/<wbr>Order using</h2></td> |
| 50 |
<td><select name="ordering">{ my $output = ''; |
| 51 |
for my $order (@{$param{orderings}}) { |
| 52 |
$output .= '<option value="'.$order.'"'.(($order eq $param{ordering})?' selected':''). |
| 53 |
">$order</option>\n"; |
| 54 |
} |
| 55 |
$output; |
| 56 |
}</td> |
| 57 |
<td></td> |
| 58 |
</tr> |
| 59 |
<tr><td><h2>Misc options</h2></td> |
| 60 |
<td> |
| 61 |
<label><input type="checkbox" name="repeatmerged" {exists $param{repeatmerged} and $param{repeatmerged}?' checked':''}> Repeat Merged</label><br> |
| 62 |
<label><input type="checkbox" name="bug-rev" {exists $param{"bug-rev"} and $param{"bug-rev"}?' checked':''}> Reverse Bugs</label><br> |
| 63 |
<label><input type="checkbox" name="pend-rev" {exists $param{"pend-rev"} and $param{"pend-rev"}?' checked':''}> Reverse Pending</label><br> |
| 64 |
<label><input type="checkbox" name="sev-rev" {exists $param{"sev-rev"} and $param{"sev-rev"}?' checked':''}> Reverse Severity</label><br> |
| 65 |
<label><input type="checkbox" name="noaffects" {exists $param{"noaffects"} and $param{"noaffects"}?' checked':''}> No Bugs which affect packages</label><br> |
| 66 |
<select name="dist"> |
| 67 |
{output_select_options(['' => 'None', |
| 68 |
map {($_,$_)} @{$config{distributions}}, |
| 69 |
],$param{dist}||'') |
| 70 |
}</select><br> |
| 71 |
<select name="archive"> |
| 72 |
{output_select_options([0 => 'Unarchived', |
| 73 |
1 => 'Archived', |
| 74 |
both => 'Archived and Unarchived', |
| 75 |
],$param{archive}||0) |
| 76 |
}</select><br> |
| 77 |
<a href="javascript:toggle_extra_status_visible()">Toggle all extra information</a> |
| 78 |
</td> |
| 79 |
</tr> |
| 80 |
<tr><td><h2>Submit</h2></td><td colspan=2> |
| 81 |
<input type="submit" name="submit" value="Submit"> |
| 82 |
</td></tr> |
| 83 |
</table> |
| 84 |
|
| 85 |
|