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/TimeMeasure/Main.php

    r738 r825  
    200200    $DbResult = $this->Database->query('SELECT COUNT(*) FROM `Measure` WHERE `Enabled`=1');
    201201    $DbRow = $DbResult->fetch_row();
    202     $PageList = GetPageList($DbRow[0]);
     202    $PageList = GetPageList('Measures', $DbRow[0]);
    203203
    204204    $Output = $PageList['Output'];
     
    217217      $TableColumns[] = array('Name' => 'MeasureDuration', 'Title' => 'Čas vykonání');
    218218    }
    219     $Order = GetOrderTableHeader($TableColumns, 'Name', 0);
     219    $Order = GetOrderTableHeader('Measures', $TableColumns, 'Name', 0);
    220220    $Output .= $Order['Output'];
    221221
Note: See TracChangeset for help on using the changeset viewer.