Ignore:
Timestamp:
Apr 16, 2016, 9:53:17 PM (8 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/User/UserPage.php

    r738 r825  
    2222    $DbResult = $this->Database->query('SELECT COUNT(*) FROM ('.$Query.') AS T');
    2323    $DbRow = $DbResult->fetch_row();
    24     $PageList = GetPageList($DbRow[0]);
     24    $PageList = GetPageList('Contacts', $DbRow[0]);
    2525
    2626    $Output = '<div>Kontakty</div>';
     
    3232      array('Name' => 'Value', 'Title' => 'Hodnota'),
    3333    );
    34     $Order = GetOrderTableHeader($TableColumns, 'Value', 0);
     34    $Order = GetOrderTableHeader('Contacts', $TableColumns, 'Value', 0);
    3535    $Output .= $Order['Output'];
    3636
Note: See TracChangeset for help on using the changeset viewer.