]> git.donarmstrong.com Git - debbugs.git/blob - templates/en_US/cgi/pkgreport_options.tmpl
Fix noaffects option
[debbugs.git] / templates / en_US / cgi / pkgreport_options.tmpl
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 using</h2></td>
50 <td></td>
51 </tr>
52 <tr><td><h2>Order by</h2></td>
53 <td><select name="ordering">{ my $output = '';
54   my @orderings = qw(normal oldview raw age);
55   for my $order (@orderings) {
56     $output .= '<option value="'.$order.'"'.(($order eq $param{ordering})?' selected':'').
57      ">$order</option>\n";
58   }
59 $output;
60 }</td>
61 <td></td>
62 </tr>
63 <tr><td><h2>Misc options</h2></td>
64 <td>
65 <input type="checkbox" name="repeatmerged" {exists $param{repeatmerged} and $param{repeatmerged}?' checked':''}> Repeat Merged<br>
66 <input type="checkbox" name="bug-rev" {exists $param{"bug-rev"} and $param{"bug-rev"}?' checked':''}> Reverse Bugs<br>
67 <input type="checkbox" name="pend-rev" {exists $param{"pend-rev"} and $param{"pend-rev"}?' checked':''}> Reverse Pending<br>
68 <input type="checkbox" name="sev-rev" {exists $param{"sev-rev"} and $param{"sev-rev"}?' checked':''}> Reverse Severity<br>
69 <input type="checkbox" name="noaffects" {exists $param{"noaffects"} and $param{"noaffects"}?' checked':''}> No Bugs which affect packages<br>
70 <select name="dist">
71 {output_select_options(['' => 'None',
72                         map {($_,$_)} @{$config{distributions}},
73                        ],$param{dist}||'')
74 }</select><br>
75 <select name="archive">
76 {output_select_options([0 => 'Unarchived',
77                         1 => 'Archived', 
78                         both => 'Archived and Unarchived',
79                        ],$param{archive}||0)
80 }</select><br>
81 <a href="javascript:toggle_extra_status_visible()">Toggle all extra information</a>
82 </td>
83 </tr>
84 <tr><td><h2>Submit</h2></td><td colspan=2>
85 <input type="submit" name="submit" value="Submit">
86 </td></tr>
87 </table>
88
89