diff --git a/pandora/document/managers.py b/pandora/document/managers.py index e953a0605..807b10831 100644 --- a/pandora/document/managers.py +++ b/pandora/document/managers.py @@ -10,6 +10,7 @@ def parseCondition(condition, user): k = condition.get('key', 'name') k = { 'user': 'user__username', + 'item': 'items__itemId', }.get(k, k) if not k: k = 'name'