• Welcome to The Network People Support Forums. Please login or sign up.

Cannot page through Group list - Fixed DIFF

Started by mikemsd, November 16, 2009, 04:07:53 PM

Previous topic - Next topic

mikemsd

November 16, 2009, 04:07:53 PM Last Edit: November 16, 2009, 04:17:18 PM by mikemsd
When there are more than 10 groups, NicTools switches to a paged view in the group list. When clicking on the next button or searching, the zone list is loaded erroneously instead of the group list. This issue is present in version 2.07. I have fixed the issue and included a DIFF.

Issue exists in the group.cgi file located at NicToolClient/htdocs/group.cgi


--- group.cgi.old       2009-11-16 23:49:50.000000000 -0600
+++ group.cgi   2009-11-16 23:59:17.000000000 -0600
@@ -177,7 +177,7 @@ sub display_zone_search {
    print
        "<tr bgcolor=$NicToolClient::dark_grey><td><table cellpadding=0 cellspacing=0 border=0 width=100%>";
    print "<tr>";
-    print $q->startform( -action => 'group_zones.cgi', -method => 'POST' );
+    print $q->startform( -action => 'group.cgi', -method => 'POST' );
    print $q->hidden( -name => 'nt_group_id' );
    print "<td>";
    print $q->textfield( -name => 'search_value', -size => 30,
@@ -208,7 +208,7 @@ sub display_group_list {
    my @columns = qw(group);
    my $cgi
        = $NicToolClient::zone_search_in_group_list
-        ? 'group_zones.cgi'
+        ? 'group.cgi'
        : 'group.cgi';

    my %labels = (


matt

This is already fixed in NicTool 2.08, but in a different way (a previous feature was removed).