acq shouldn't be in context for THANKS
parent
53ea120aae
commit
c85a13b05c
|
@ -2699,6 +2699,10 @@ class DownloadView(PurchaseView):
|
|||
all_acqs=request.user.acqs.filter(work=work).order_by('-created')
|
||||
for an_acq in all_acqs:
|
||||
if not an_acq.expired:
|
||||
# skip for THANKS
|
||||
if an_acq.license == THANKED:
|
||||
acq = None
|
||||
break
|
||||
# prepare this acq for download
|
||||
if not an_acq.watermarked or an_acq.watermarked.expired:
|
||||
if not an_acq.on_reserve:
|
||||
|
|
Loading…
Reference in New Issue