Changeset 124 for trunk


Ignore:
Timestamp:
09/20/11 15:52:27 (13 years ago)
Author:
Kris Deugau
Message:

/trunk

Add some belt-n-suspenders backup to make sure the sort field gets
set on any page with sorting ability.
Shouldn't be a problem unless there's session weirdness, but...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r120 r124  
    304304  my $count = getRecCount($dbh, $webvar{defrec}, $webvar{id});
    305305
    306 #  $sortby = 'host';
     306  $sortby = 'host';
    307307# sort/order
    308308  $session->param($webvar{page}.'sortby', $webvar{sortby}) if $webvar{sortby};
     
    16381638  $page->param(gid => $curgroup);
    16391639
    1640 #  $sortby = 'group';
     1640  $sortby = 'group';
    16411641# sort/order
    16421642  $session->param($webvar{page}.'sortby', $webvar{sortby}) if $webvar{sortby};
     
    17431743  fill_fpnla($count);
    17441744
    1745 #  $sortby = 'user';
     1745  $sortby = 'user';
    17461746# sort/order
    17471747  $session->param($webvar{page}.'sortby', $webvar{sortby}) if $webvar{sortby};
Note: See TracChangeset for help on using the changeset viewer.