From 5a2ac5670015363c55a259f2680a77f83e04d666 Mon Sep 17 00:00:00 2001 From: eliasdoehne Date: Sun, 12 Aug 2018 13:30:42 +0200 Subject: [PATCH] minor fix: sort games by last modified, not alphabetically --- src/stellarisdashboard/dash_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stellarisdashboard/dash_server.py b/src/stellarisdashboard/dash_server.py index b17a757..9d36afc 100644 --- a/src/stellarisdashboard/dash_server.py +++ b/src/stellarisdashboard/dash_server.py @@ -347,7 +347,7 @@ def _get_game_ids_matching_url(url): if game_id is None: game_id = "" matches = models.get_known_games(game_id) - return game_id, sorted(matches) + return game_id, matches def get_plot_lines(plot_data: visualization_data.EmpireProgressionPlotData, plot_spec: visualization_data.PlotSpecification) -> List[Dict[str, Any]]: