forked from 0x2620/pandora
temp fix for sets
This commit is contained in:
parent
b46aa6625f
commit
808689c0c3
1 changed files with 3 additions and 1 deletions
|
@ -996,7 +996,9 @@ class Item(models.Model):
|
||||||
def users_with_files(self):
|
def users_with_files(self):
|
||||||
return User.objects.filter(
|
return User.objects.filter(
|
||||||
volumes__files__file__item=self
|
volumes__files__file__item=self
|
||||||
).order_by('-profile__level', 'date_joined').distinct()
|
).order_by('date_joined').distinct()
|
||||||
|
#FIXME: profile not showing up here
|
||||||
|
#).order_by('-profile__level', 'date_joined').distinct()
|
||||||
|
|
||||||
def sets(self):
|
def sets(self):
|
||||||
sets = []
|
sets = []
|
||||||
|
|
Loading…
Reference in a new issue