Changeset 76 for trunk/dns.cgi
- Timestamp:
- 02/17/11 17:28:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r72 r76 57 57 $session->param('grpmansortby','group'); 58 58 $session->param('grpmanorder','ASC'); 59 $session->param('reclistsortby',' name');59 $session->param('reclistsortby','host'); 60 60 $session->param('reclistorder','ASC'); 61 61 # $session->param('filter','login'); … … 251 251 $sth->execute($webvar{id}); 252 252 my ($count) = ($sth->fetchrow_array); 253 254 # $sortby = 'host'; 255 # sort/order 256 $session->param($webvar{page}.'sortby', $webvar{sortby}) if $webvar{sortby}; 257 $session->param($webvar{page}.'order', $webvar{order}) if $webvar{order}; 258 259 $sortby = $session->param($webvar{page}.'sortby'); 260 $sortorder = $session->param($webvar{page}.'order'); 253 261 254 262 ##work … … 1109 1117 $filter = $session->param($webvar{page}.'filter'); 1110 1118 1111 # my @foo2 = getDomRecs($dbh,'def',1); 1112 my $foo2 = getDomRecs($dbh,$def,$id,$perpage,$webvar{offset}); 1119 my $foo2 = getDomRecs($dbh,$def,$id,$perpage,$webvar{offset},$sortby,$sortorder); 1113 1120 1114 1121 my $row = 0;
Note:
See TracChangeset
for help on using the changeset viewer.