]> git.donarmstrong.com Git - debbugs.git/commitdiff
* Add bug archiveable support to PKgreport.pm
authorDon Armstrong <don@donarmstrong.com>
Sun, 10 Aug 2008 15:47:57 +0000 (08:47 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sun, 10 Aug 2008 15:47:57 +0000 (08:47 -0700)
Debbugs/CGI/Pkgreport.pm

index ab161ea1089e16908660633dd0fa289179bb965c..8fbf90314fbc8409556df1efeff1b0658d506ed0 100644 (file)
@@ -235,8 +235,11 @@ sub short_bug_status_html {
               push @{$status{blocks_array}}, {bug_num => $b, subject => $s{subject}, status => \%s};
          }
      }
-
-
+     my $days = bug_archiveable(bug => $status{id},
+                               status => \%status,
+                               days_until => 1,
+                              );
+     $status{archive_days} = $days;
      return fill_in_template(template => 'cgi/short_bug_status',
                             variables => {status => \%status,
                                           isstrongseverity => \&Debbugs::Status::isstrongseverity,