Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9053

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.8-RC1
    • 3.0.6
    • ACP
    • None
    • PHP Environment: 5.2.6

      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.

            bantu Andreas Fischer [X] (Inactive)
            slx slx
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: