Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9053

Correctly sort database backup file list by date on database restore page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.0.8-RC1
    • Component/s: ACP
    • Labels:
      None
    • Environment:
      PHP Environment: 5.2.6

      Description

      Preview of backuped data is sorted alphabetically and not by date. It can be changed in file /includes/acp/acp_database.php:438

      from:
      $backup_files[gmdate("d-m-Y H:i:s", $matches[1])] = $file;

      to:
      $backup_files[gmdate("Y-m-d H:i:s", $matches[1])] = $file;

      Or maybe better (without changing date format) using custom sort function in line 448.

        Attachments

          Activity

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              slx slx
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: