Ignore:
Timestamp:
Apr 16, 2016, 9:53:17 PM (9 years ago)
Author:
chronos
Message:
  • Added: Allow to independently select table page and column order. This solves a problem where going between pages with tables incorrectly set default ordering column.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Network/Subnet.php

    r790 r825  
    1515    $DbResult = $this->Database->query('SELECT COUNT(*) FROM `NetworkSubnet`');
    1616    $DbRow = $DbResult->fetch_row();
    17     $PageList = GetPageList($DbRow[0]);
     17    $PageList = GetPageList('Subnets', $DbRow[0]);
    1818
    1919    $Output = $PageList['Output'];
     
    3030      array('Name' => 'SubjectName', 'Title' => 'Účastník'),
    3131    );
    32     $Order = GetOrderTableHeader($TableColumns, 'AddressRange', 0);
     32    $Order = GetOrderTableHeader('Subnets', $TableColumns, 'AddressRange', 0);
    3333    $Output .= $Order['Output'];
    3434
Note: See TracChangeset for help on using the changeset viewer.