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

    r821 r825  
    527527      $TotalFilteredCount = $DbRow[0];
    528528    } else $TotalFilteredCount = $TotalCount;
    529     $PageList = GetPageList($TotalFilteredCount);
     529    $PageList = GetPageList($Table, $TotalFilteredCount);
    530530
    531531    $Output = $PageList['Output'];
     
    537537    if(!array_key_exists('DefaultSortOrder', $FormClass))
    538538      $FormClass['DefaultSortOrder'] = 0;
    539     $Order = GetOrderTableHeader($TableColumns, $FormClass['DefaultSortColumn'], $FormClass['DefaultSortOrder']);
     539    $Order = GetOrderTableHeader($Table, $TableColumns, $FormClass['DefaultSortColumn'], $FormClass['DefaultSortOrder']);
    540540    $Output .= $Order['Output'];
    541541
Note: See TracChangeset for help on using the changeset viewer.