[freeside-commits] freeside/httemplate/view/cust_main packages.html, 1.67, 1.68

Ivan,,, ivan at wavetail.420.am
Thu Oct 8 01:28:39 PDT 2009


Update of /home/cvs/cvsroot/freeside/httemplate/view/cust_main
In directory wavetail.420.am:/tmp/cvs-serv31044

Modified Files:
	packages.html 
Log Message:
fix "show old packages" accidentally hiding cancelled packages, RT#5276

Index: packages.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/view/cust_main/packages.html,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- packages.html	7 Aug 2009 00:39:14 -0000	1.67
+++ packages.html	8 Oct 2009 08:28:37 -0000	1.68
@@ -39,15 +39,14 @@
 %             )
 %        )
 %     {
+%       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> )



More information about the freeside-commits mailing list