[freeside-commits] branch master updated. adde23e02a271005a708519efd82c43f388cfdee

Jonathan Prykop jonathan at 420.am
Mon Nov 9 16:53:57 PST 2015


The branch, master has been updated
       via  adde23e02a271005a708519efd82c43f388cfdee (commit)
      from  96b69dd1aa5c8045b5a4297ecea510d60f575251 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit adde23e02a271005a708519efd82c43f388cfdee
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Mon Nov 9 18:53:42 2015 -0600

    RT#18439: Sorting routers alphabetically, routers disappear

diff --git a/httemplate/browse/router.cgi b/httemplate/browse/router.cgi
index ef8ad31..85512f8 100644
--- a/httemplate/browse/router.cgi
+++ b/httemplate/browse/router.cgi
@@ -43,11 +43,13 @@ my @menubar = ( 'Add a new router', "${p2}edit/router.cgi" );
 
 if ($cgi->param('hidecustomerrouters') eq '1') {
   $extra_sql = 'WHERE svcnum > 0';
-  $cgi->param('hidecustomerrouters', 0);
+  $cgi->delete('hidecustomerrouters');
   push @menubar, 'Show customer routers', $cgi->self_url();
+  $cgi->param('hidecustomerrouters', 1);
 } else {
   $cgi->param('hidecustomerrouters', 1);
   push @menubar, 'Hide customer routers', $cgi->self_url();
+  $cgi->delete('hidecustomerrouters');
 }
 
 my $count_sql = $extra_sql.  ( $extra_sql =~ /WHERE/ ? ' AND' : 'WHERE' ).

-----------------------------------------------------------------------

Summary of changes:
 httemplate/browse/router.cgi |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list