From: Zhorken Date: Mon, 6 Dec 2010 23:10:52 +0000 (-0500) Subject: Order move changelogs descendingly. X-Git-Tag: veekun-promotions/2010120701~2 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/aed38ff426f082a2c4f3ae10433b915bd44aee08?hp=9b1ce598afe825450b213baffd25dc33bf288b36 Order move changelogs descendingly. --- 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')