projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce7044b
)
fix "show old packages" accidentally hiding cancelled packages, RT#5276
author
ivan
<ivan>
Thu, 8 Oct 2009 08:28:37 +0000
(08:28 +0000)
committer
ivan
<ivan>
Thu, 8 Oct 2009 08:28:37 +0000
(08:28 +0000)
httemplate/view/cust_main/packages.html
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main/packages.html
b/httemplate/view/cust_main/packages.html
index
16adc8c
..
17a0691
100755
(executable)
--- 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> )