Do not get variations by "group" unless the item is part of a set of hard-coded categories. #1232

This commit is contained in:
blitzmann
2017-07-10 00:11:54 -04:00
parent f5108c34db
commit 1305a1f2b6
2 changed files with 6 additions and 3 deletions

View File

@@ -317,8 +317,7 @@ def getVariations(itemids, groupIDs=None, where=None, eager=None):
vars = gamedata_session.query(Item).options(*processEager(eager)).join((groups_table, joinon)).filter(
filter).all()
return vars
return vars
@cachedQuery(1, "attr")
def getAttributeInfo(attr, eager=None):