add distinct again
This commit is contained in:
parent
b55d368920
commit
513e79b431
1 changed files with 2 additions and 2 deletions
|
@ -298,8 +298,8 @@ class ItemManager(Manager):
|
|||
data.get('query', {}).get('operator', '&'),
|
||||
user)
|
||||
qs = qs.filter(conditions)
|
||||
#FIXME: why was this in?
|
||||
#qs = qs.distinct()
|
||||
#FIXME: can this be avoided? needed for grid/accessed/foo
|
||||
qs = qs.distinct()
|
||||
|
||||
#anonymous can only see public items
|
||||
if not user or user.is_anonymous():
|
||||
|
|
Loading…
Reference in a new issue