From ec5b138162776da9e5f9001d350578dad0cb295f Mon Sep 17 00:00:00 2001 From: "Lynn \"Zhorken\" Vaughan" Date: Wed, 1 Aug 2012 11:29:27 -0400 Subject: [PATCH] Add warrior skills to the lookup. --- pokedex/lookup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pokedex/lookup.py b/pokedex/lookup.py index baa9b7f..ccbfb6a 100644 --- a/pokedex/lookup.py +++ b/pokedex/lookup.py @@ -88,7 +88,8 @@ _table_order = dict( locations=6, natures=7, conquest_warriors=8, - conquest_kingdoms=9, + conquest_warrior_skills=9, + conquest_kingdoms=10, ) def _table_facet_impl(searcher, docnum): u"""Implements a sort that puts different "types" of results in a @@ -120,7 +121,8 @@ class PokedexLookup(object): tables.Type, tables.ConquestKingdom, - tables.ConquestWarrior + tables.ConquestWarrior, + tables.ConquestWarriorSkill, ) )