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/System/System.php

    r738 r825  
    1616    $DbResult = $this->Database->query('SELECT COUNT(*) FROM `Module`');
    1717    $DbRow = $DbResult->fetch_row();
    18     $PageList = GetPageList($DbRow[0]);
     18    $PageList = GetPageList('Modules', $DbRow[0]);
    1919
    2020    $Output .= $PageList['Output'];
     
    3131      array('Name' => '', 'Title' => 'Akce'),
    3232    );
    33     $Order = GetOrderTableHeader($TableColumns, 'Name', 0);
     33    $Order = GetOrderTableHeader('Modules', $TableColumns, 'Name', 0);
    3434    $Output .= $Order['Output'];
    3535    $Query = 'SELECT *, (SELECT GROUP_CONCAT(`T1`.`Name` SEPARATOR ", ") FROM `ModuleLink` '.
Note: See TracChangeset for help on using the changeset viewer.