Add items.attributes to eager loading

This commit is contained in:
cncfanatics
2010-09-30 18:27:08 +02:00
parent aa2b399b4e
commit 0afae4e8fb

View File

@@ -137,7 +137,7 @@ class Market():
def getShipList(self, id):
ships = []
grp = eos.db.getGroup(id, eager=("items", "items.marketGroup"))
grp = eos.db.getGroup(id, eager=("items", "items.marketGroup", "items.attributes"))
for item in grp.items:
if item.published or item.name in self.FORCED_SHIPS:
ships.append((item.ID, item.name, item.race))