From b5f070b9e033fbae5e544cd5532123d18fc8f7ea Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Thu, 23 Sep 2010 18:21:33 +0200 Subject: [PATCH] also eagerly load marketgroups for ships --- service/market.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/market.py b/service/market.py index 3b50cd02a..12f6c1369 100644 --- a/service/market.py +++ b/service/market.py @@ -137,7 +137,7 @@ class Market(): def getShipList(self, id): ships = [] - grp = eos.db.getGroup(id, eager=("items")) + grp = eos.db.getGroup(id, eager=("items", "items.marketGroup")) for item in grp.items: if item.published or item.name in self.FORCED_SHIPS: ships.append((item.ID, item.name, item.race))