Group Tree view only displays first 20 - Fixed DIFF

Started by mikemsd, November 16, 2009, 11:54:04 PM

Previous topic - Next topic

mikemsd

The group tree view controlled by nav.cgi only displays the first 20 groups. This is due to the call made to the server to populate the group list is not specifying a limit. This is causing the groups to default to a limit of 20 per API specs. Set limit to API specification max of 255. This issues is present in NicToolClient 2.07

Affected file is: NicToolClient/htdocs/nav.cgi


--- nav.cgi.old 2009-11-17 00:44:55.000000000 -0600
+++ nav.cgi     2009-11-17 00:52:42.000000000 -0600
@@ -132,7 +132,7 @@ sub recurse_groups {
     my $expanded        = shift;

     my $data
-        = $nt_obj->get_group_subgroups( nt_group_id => $parent_group_id );
+        = $nt_obj->get_group_subgroups( nt_group_id => $parent_group_id, limit => 255 );
     return $nt_obj->display_error($data)
         if ( $data->{'error_code'} != '200' );


matt