Changeset 825 for trunk/Modules/TV


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

    r738 r825  
    3232      ' LEFT JOIN `Language` ON `Language`.`Id` = `TV`.`Language` WHERE (`TV`.`Stream` <> "") OR (`TV`.`StreamWeb` <> "")');
    3333    $DbRow = $DbResult->fetch_row();
    34     $PageList = GetPageList($DbRow[0]);
     34    $PageList = GetPageList('TVChannels', $DbRow[0]);
    3535
    3636    $Output .= $PageList['Output'];
     
    4444      array('Name' => '', 'Title' => 'Ladění'),
    4545    );
    46     $Order = GetOrderTableHeader($TableColumns, 'Name', 0);
     46    $Order = GetOrderTableHeader('TVChannels', $TableColumns, 'Name', 0);
    4747    $Output .= $Order['Output'];
    4848
Note: See TracChangeset for help on using the changeset viewer.