RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git] / httemplate / browse / access_group.html
index cecf3d6..2df0ba0 100644 (file)
@@ -5,7 +5,7 @@
                  'name'        => 'employee groups',
                  'query'       => { 'table'     => 'access_group',
                                     'hashref'   => {},
-                                    'extra_sql' => 'ORDER BY groupname', #??
+                                    'order_by' => 'ORDER BY groupname', #??
                                   },
                  'count_query' => $count_query,
                  'header'      => [ '#',
@@ -81,9 +81,7 @@ my $rights_sub = sub {
     '<TR><TH BGCOLOR="#dcdcdc">'. $_. '</TH></TR>'.
     '<TR><TD>'.
 
-     join('<BR>', grep { warn "$access_group->access_right($_): ".
-                              $access_group->access_right($_). "\n";
-                         $access_group->access_right($_); }
+     join('<BR>', grep { $access_group->access_right($_); }
                    map { ref($_) ? $_->{'rightname'} : $_; }
                        @{ $rights{$_} }
          ).