Sort games by name
This commit is contained in:
@@ -102,7 +102,7 @@ last_updated = excluded.last_updated
|
||||
static Future<Map<String, Game>> getAll() async {
|
||||
final db = DB.db;
|
||||
final games = await db.rawQuery(
|
||||
'SELECT name, actual_version, last_played, rss_feed_url, version_regex, last_updated, image_data FROM games',
|
||||
'SELECT name, actual_version, last_played, rss_feed_url, version_regex, last_updated, image_data FROM games ORDER BY name',
|
||||
);
|
||||
return games
|
||||
.map((e) => Game.fromMap(e))
|
||||
|
Reference in New Issue
Block a user