diff options
author | ivan <ivan> | 2009-10-08 08:28:37 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-10-08 08:28:37 +0000 |
commit | 3e13bcbded0bf2ce65d8fac4670ee18ecb9e371b (patch) | |
tree | d07448f17709db9a65176c70adfab753f17cce7b /httemplate/view/cust_main | |
parent | ce7044bb1112c7d50d2fc4b1e2b3676a87a7847d (diff) |
fix "show old packages" accidentally hiding cancelled packages, RT#5276
Diffstat (limited to 'httemplate/view/cust_main')
-rwxr-xr-x | httemplate/view/cust_main/packages.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/httemplate/view/cust_main/packages.html b/httemplate/view/cust_main/packages.html index 16adc8c5f..17a06911a 100755 --- a/httemplate/view/cust_main/packages.html +++ b/httemplate/view/cust_main/packages.html @@ -39,15 +39,14 @@ Current packages % ) % ) % { +% my $prev = $cgi->param('showcancelledpackages'); % $cgi->param('showcancelledpackages', 1); -% - ( <a href="<% $cgi->self_url %>">show +% $cgi->param('showcancelledpackages', $prev); % } else { % $cgi->param('showcancelledpackages', 0); -% - ( <a href="<% $cgi->self_url %>">hide +% $cgi->param('showcancelledpackages', 1); % } cancelled packages</a> ) |