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

    r745 r825  
    185185        $DbResult2 = $this->Database->query('SELECT COUNT(*) FROM `WikiPageContent` WHERE Page='.$DbRow['Id']);
    186186        $DbRow2 = $DbResult2->fetch_row();
    187         $PageList = GetPageList($DbRow2[0]);
     187        $PageList = GetPageList('WikiHistory', $DbRow2[0]);
    188188
    189189        $Output .= $PageList['Output'];
     
    196196        );
    197197
    198         $Order = GetOrderTableHeader($TableColumns, 'Time', 1);
     198        $Order = GetOrderTableHeader('WikiHistory', $TableColumns, 'Time', 1);
    199199        $Output .= $Order['Output'];
    200200
Note: See TracChangeset for help on using the changeset viewer.