Skip to content

Commit

Permalink
MGR-146
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Müller authored and Matthias Müller committed Jan 16, 2023
1 parent d1da3b5 commit 66da4f0
Show file tree
Hide file tree
Showing 2 changed files with 471 additions and 468 deletions.
Expand Up @@ -17,6 +17,7 @@

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.appng.api.ActionProvider;
Expand Down Expand Up @@ -80,6 +81,7 @@ public DataContainer getData(Site site, Application application, Environment env
MigrationInfoService migrationInfoService = databaseConnection.getMigrationInfoService();
if (null != migrationInfoService) {
List<MigrationInfo> migrations = Arrays.asList(migrationInfoService.all());
Collections.reverse(migrations);
dataContainer.setItems(migrations);
} else {
dataContainer.setItems(new ArrayList<>());
Expand Down

0 comments on commit 66da4f0

Please sign in to comment.