From aed38ff426f082a2c4f3ae10433b915bd44aee08 Mon Sep 17 00:00:00 2001 From: Zhorken Date: Mon, 6 Dec 2010 18:10:52 -0500 Subject: [PATCH 1/1] Order move changelogs descendingly. --- pokedex/db/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index 0e336ce..177309a 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -1375,7 +1375,7 @@ Machine.item = relation(Item) Machine.version_group = relation(VersionGroup) Move.changelog = relation(MoveChangelog, - order_by=MoveChangelog.changed_in_version_group_id.asc(), + order_by=MoveChangelog.changed_in_version_group_id.desc(), backref='move', ) Move.contest_effect = relation(ContestEffect, backref='moves') -- 2.7.4