alfortville: mark as seen all info items
This commit is contained in:
parent
642aac28ed
commit
813ca76dca
|
@ -198,7 +198,7 @@ class MailTable(TemplateView):
|
|||
return context
|
||||
|
||||
def post(self, request, *args, **kwargs):
|
||||
Inbox.objects.filter(id__in=request.POST.getlist('object-pk')).update(done=True,
|
||||
Inbox.objects.filter(source_pk__in=request.POST.getlist('object-pk')).update(done=True,
|
||||
comments=request.POST.get('comments'))
|
||||
return HttpResponseRedirect('.')
|
||||
|
||||
|
|
Loading…
Reference in New Issue