This commit is contained in:
j 2012-11-09 12:10:25 +01:00
parent 597fe9d6c6
commit bb7d43e29f

View file

@ -95,7 +95,7 @@ def update(request):
f.save() f.save()
if not upload_only: if not upload_only:
all_files = models.Instance.objects.filter(volume__user=user) all_files = models.Instance.objects.filter(volume__user=user)
files = all_files.filter(file__avalable=False) files = all_files.filter(file__available=False)
if volume: if volume:
files = files.filter(volume=volume) files = files.filter(volume=volume)
response['data']['info'] = [f.file.oshash for f in all_files.filter(file__info='{}')] response['data']['info'] = [f.file.oshash for f in all_files.filter(file__info='{}')]