Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Order PokemonEggGroup.species by Pokémon *species* order.

  • Loading branch information...
commit 6e103af3e0a8006d58b40ccce25f6c8b3ea94d2a 1 parent 4aa637c
@Zhorken Zhorken authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  pokedex/db/tables.py
View
2  pokedex/db/tables.py
@@ -2064,7 +2064,7 @@ class VersionGroupRegion(TableBase):
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,
Please sign in to comment.
Something went wrong with that request. Please try again.