From 6e103af3e0a8006d58b40ccce25f6c8b3ea94d2a Mon Sep 17 00:00:00 2001 From: "Lynn \"Zhorken\" Vaughan" Date: Thu, 7 Jun 2012 02:07:29 -0400 Subject: [PATCH] =?UTF-8?q?Order=20PokemonEggGroup.species=20by=20Pok?= =?UTF-8?q?=C3=A9mon=20*species*=20order.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 2da7a91..505b1ad 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -2064,7 +2064,7 @@ PokemonSpecies.egg_groups = relationship(EggGroup, secondary=PokemonEggGroup.__table__, innerjoin=True, order_by=PokemonEggGroup.egg_group_id.asc(), - backref=backref('species', order_by=Pokemon.order.asc())) + backref=backref('species', order_by=PokemonSpecies.order.asc())) PokemonSpecies.forms = relationship(PokemonForm, secondary=Pokemon.__table__, primaryjoin=PokemonSpecies.id==Pokemon.species_id,