forked from 0x2620/pandora
merge
This commit is contained in:
commit
3bff9d1fb9
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ class ItemManager(Manager):
|
|||
conditions = parseConditions(data.get('query', {}).get('conditions', []),
|
||||
data.get('query', {}).get('operator', '&'))
|
||||
qs = qs.filter(conditions)
|
||||
qs = qs.distinct()
|
||||
|
||||
#anonymous can only see public items
|
||||
if user.is_anonymous():
|
||||
|
|
Loading…
Reference in a new issue