Ignore:
Timestamp:
Feb 6, 2016, 2:15:49 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Export task processing made more readable using classes. Task queue is processed and shown in TimeQueued order.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/Export.php

    r866 r869  
    731731      'LEFT JOIN `Export` ON `Export`.`Id` = `ExportTask`.`Export` WHERE '.
    732732      '((`Export`.`OutputType` = 9) OR (`Export`.`OutputType` = 10)) AND '.
    733       '(`TimeFinish` IS NULL) OR (`Export` ='.$TaskId.') ORDER BY `Progress` DESC'); // `Export`='.$Export->Id
     733      '(`TimeFinish` IS NULL) OR (`Export` ='.$TaskId.') ORDER BY `TimeQueued`'); // `Export`='.$Export->Id
    734734    while($Task = $DbResult->fetch_assoc())
    735735    {
Note: See TracChangeset for help on using the changeset viewer.